diff --git python-astroML/python-astroML.spec python-astroML/python-astroML.spec.tmp index 29db99e352..07284bb14c 100644 --- python-astroML/python-astroML.spec +++ python-astroML/python-astroML.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{upname} Version: 0.3 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Python tools for machine learning and data mining in Astronomy License: BSD @@ -31,20 +31,27 @@ BuildRequires: python3-setuptools BuildRequires: python3-scipy %endif +%global _description\ +AstroML is a Python module for machine learning and data mining built on\ +numpy, scipy, scikit-learn, and matplotlib, and distributed under the\ +3-clause BSD license. It contains a growing library of statistical and\ +machine learning routines for analyzing astronomical data in python,\ +loaders for several open astronomical datasets, and a large suite of\ +examples of analyzing and visualizing astronomical datasets.\ + + +%description %_description + +%package -n python2-astroml +Summary: %summary Requires: numpy Requires: python-astropy Requires: python-matplotlib Requires: python2-scikit-learn Requires: scipy +%{?python_provide:%python_provide python2-astroml} -%description -AstroML is a Python module for machine learning and data mining built on -numpy, scipy, scikit-learn, and matplotlib, and distributed under the -3-clause BSD license. It contains a growing library of statistical and -machine learning routines for analyzing astronomical data in python, -loaders for several open astronomical datasets, and a large suite of -examples of analyzing and visualizing astronomical datasets. - +%description -n python2-astroml %_description %if 0%{?with_python3} %package -n python3-%{upname} @@ -112,7 +119,7 @@ popd #xvfb-run -a nosetests-%{python2_version} -%files +%files -n python2-astroml %license LICENSE.rst %doc CHANGES.rst CITATION README.rst %{python2_sitelib}/%{upname} @@ -132,6 +139,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.3-14 +- Python 2 binary package renamed to python2-astroml + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild