diff --git python-astroML-addons/python-astroML-addons.spec python-astroML-addons/python-astroML-addons.spec.tmp index 6b2a750083..74a3c33ba3 100644 --- python-astroML-addons/python-astroML-addons.spec +++ python-astroML-addons/python-astroML-addons.spec.tmp @@ -4,15 +4,13 @@ Name: python-astroML-addons Version: 0.2.2 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Performance add-ons for the astroML package License: BSD URL: http://www.astroml.org/ Source0: https://pypi.python.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz -Requires: python-astroML - BuildRequires: python-setuptools BuildRequires: python2-devel BuildRequires: python-astroML @@ -22,17 +20,26 @@ BuildRequires: python3-devel BuildRequires: python3-astroML %endif -%description -astroML is split into two components. The core astroML library is written -in python only, and is designed to be very easy to install for any users, -even those who don't have a working C or fortran compiler. A companion library, -astroML_addons, can be optionally installed for increased performance on -certain algorithms. Every algorithm in astroML_addons has a pure python -counterpart in the core astroML implementation, but the astroML_addons library -contains faster and more efficient implementations in compiled code. -Furthermore, if astroML_addons is installed on your system, the core astroML +%global _description\ +astroML is split into two components. The core astroML library is written\ +in python only, and is designed to be very easy to install for any users,\ +even those who don't have a working C or fortran compiler. A companion library,\ +astroML_addons, can be optionally installed for increased performance on\ +certain algorithms. Every algorithm in astroML_addons has a pure python\ +counterpart in the core astroML implementation, but the astroML_addons library\ +contains faster and more efficient implementations in compiled code.\ +Furthermore, if astroML_addons is installed on your system, the core astroML\ library will import and use the faster routines by default. +%description %_description + +%package -n python2-astroml-addons +Summary: %summary +Requires: python-astroML +%{?python_provide:%python_provide python2-astroml-addons} + +%description -n python2-astroml-addons %_description + %if 0%{?with_python3} %package -n python3-%{upname} Summary: Performance add-ons for the astroML package @@ -83,7 +90,7 @@ popd find %{buildroot} -name 'setup.py*' -print0 | xargs -0 rm -rf %{_fixperms} %{buildroot}/* -%files +%files -n python2-astroml-addons %doc README.rst %{python2_sitearch}/astroML_addons %{python2_sitearch}/astroML_addons-%{version}-py%{python2_version}.egg-info @@ -94,6 +101,10 @@ find %{buildroot} -name 'setup.py*' -print0 | xargs -0 rm -rf %{python3_sitearch}/astroML_addons-%{version}-py%{python3_version}.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.2-11 +- Python 2 binary package renamed to python2-astroml-addons + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild