diff --git python-numdisplay/python-numdisplay.spec python-numdisplay/python-numdisplay.spec.tmp index 702d9ef720..6a1ae2f5c8 100644 --- python-numdisplay/python-numdisplay.spec +++ python-numdisplay/python-numdisplay.spec.tmp @@ -5,7 +5,7 @@ Name: python-numdisplay Version: 1.5.6 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Visualize numpy array objects in ds9 License: BSD @@ -13,18 +13,26 @@ License: BSD URL: http://stsdas.stsci.edu/numdisplay Source0: http://stsdas.stsci.edu/numdisplay/download/numdisplay-%{version}.tar.gz Patch0: numdisplay-numpy-fix.patch -Provides: numdisplay -Requires: numpy BuildRequires: python-devel BuildArch: noarch -%description -Numdisplay provides the capability to visualize numpy array objects using -astronomical image display tools such as DS9 or XIMTOOL directly from -the Python command line. This task can display any numpy object, whether -it was created interactively or read in from a FITS file using PyFITS +%global _description\ +Numdisplay provides the capability to visualize numpy array objects using\ +astronomical image display tools such as DS9 or XIMTOOL directly from\ +the Python command line. This task can display any numpy object, whether\ +it was created interactively or read in from a FITS file using PyFITS\ on any platform which supports Python and numpy. +%description %_description + +%package -n python2-numdisplay +Summary: %summary +Provides: numdisplay +Requires: numpy +%{?python_provide:%python_provide python2-numdisplay} + +%description -n python2-numdisplay %_description + %prep %setup -q -n %{upname} %patch0 -p1 @@ -35,13 +43,17 @@ on any platform which supports Python and numpy. %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-numdisplay %doc lib/LICENSE.txt %{python_sitelib}/%{upname} %{python_sitelib}/%{upname}*.egg-info %exclude %{python_sitelib}/%{upname}/LICENSE.txt %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.5.6-16 +- Python 2 binary package renamed to python2-numdisplay + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.5.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild