diff --git pyfits/pyfits.spec pyfits/pyfits.spec.tmp index 7524582eee..74c11a9474 100644 --- pyfits/pyfits.spec +++ pyfits/pyfits.spec.tmp @@ -2,7 +2,7 @@ Name: pyfits Version: 3.4 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python interface to FITS Group: Development/Languages @@ -16,14 +16,23 @@ BuildRequires: python2-devel python-setuptools numpy BuildRequires: python2-d2to1 >= 0.2.12 BuildRequires: cfitsio-devel BuildRequires: python-nose -Requires: numpy +%global _description\ +PyFITS provides an interface to FITS formatted files under the Python\ +scripting language. It is useful both for interactive data analysis and for\ +writing analysis scripts in Python using FITS files as either input or output. + +%description %_description + +%package -n python2-pyfits +Summary: %summary Provides: python2-pyfits +Requires: numpy +%{?python_provide:%python_provide python2-pyfits} +# Remove before F30 +Provides: pyfits = %{version}-%{release} -%description -PyFITS provides an interface to FITS formatted files under the Python -scripting language. It is useful both for interactive data analysis and for -writing analysis scripts in Python using FITS files as either input or output. +%description -n python2-pyfits %_description %if 0%{?with_python3} %package -n python3-pyfits @@ -87,7 +96,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} chmod 755 %{buildroot}%{python2_sitearch}/pyfits/compression.so -%files +%files -n python2-pyfits %doc FAQ.txt README.txt CHANGES.txt %license LICENSE.txt %exclude %{_bindir}/* @@ -102,6 +111,10 @@ chmod 755 %{buildroot}%{python2_sitearch}/pyfits/compression.so %endif # with_python3 %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 3.4-8 +- Python 2 binary package renamed to python2-pyfits + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild