diff --git a/ATpy.spec b/ATpy.spec index 95fc767..7f8af06 100644 --- a/ATpy.spec +++ b/ATpy.spec @@ -2,7 +2,7 @@ Name: ATpy Version: 0.9.7 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Astronomical Tables in Python License: MIT @@ -13,19 +13,30 @@ Source0: https://pypi.python.org/packages/source/A/ATpy/%{name}-%{version}.tar.g BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: numpy python-astropy %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # with_python3 -%description -ATpy is a high-level Python package providing a way to manipulate tables of -astronomical data in a uniform way. It provides built-in support for NumPy -recarrays and common astronomical file/database formats (FITS, VO, HDF5, +%global _description\ +ATpy is a high-level Python package providing a way to manipulate tables of\ +astronomical data in a uniform way. It provides built-in support for NumPy\ +recarrays and common astronomical file/database formats (FITS, VO, HDF5,\ and ASCII tables) with a very simple API. +%description %_description + +%package -n python2-atpy +Summary: %summary +Requires: numpy python-astropy +%{?python_provide:%python_provide python2-atpy} +# Remove before F30 +Provides: ATpy%{?_isa} = %{version}-%{release} +Obsoletes: ATpy < %{version}-%{release} + +%description -n python2-atpy %_description + %if 0%{?with_python3} %package -n python3-ATpy Summary: Astronomical Tables in Python @@ -69,7 +80,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-atpy %doc CHANGES LICENSE README.md %{python2_sitelib}/ATpy-*.egg-info %{python2_sitelib}/atpy @@ -82,6 +93,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.9.7-13 +- Python 2 binary package renamed to python2-atpy + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 0.9.7-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild