diff --git pyfits/pyfits.spec pyfits/pyfits.spec.tmp index 7524582eee..125f704b88 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,24 @@ 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 +Requires: numpy Provides: python2-pyfits +%{?python_provide:%python_provide python2-pyfits} +# Remove before F30 +Provides: pyfits%{?_isa} = %{version}-%{release} +Obsoletes: 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 +97,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 +112,10 @@ chmod 755 %{buildroot}%{python2_sitearch}/pyfits/compression.so %endif # with_python3 %changelog +* Sat Aug 12 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