diff --git pymilia/pymilia.spec pymilia/pymilia.spec.tmp index 7d1516bba2..5e4fb39dd0 100644 --- pymilia/pymilia.spec +++ pymilia/pymilia.spec.tmp @@ -6,7 +6,7 @@ Name: pymilia Version: 1.0.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Python wrappers for milia License: GPLv3+ @@ -17,19 +17,28 @@ Source0: ftp://astrax.fis.ucm.es/pub/software/pymilia/%{name}-%{version}.tar.gz BuildRequires: python-devel python-setuptools BuildRequires: Cython milia-devel >= 1.0.0 -Provides: python2-pymilia - # we don't want to provide private python extension libs %{?filter_setup: %filter_provides_in %{python2_sitearch}/.*\.so$ %filter_setup } -%description -Python wrappers for milia. Milia is a C++ library created to -compute cosmological distances and ages in the +%global _description\ +Python wrappers for milia. Milia is a C++ library created to\ +compute cosmological distances and ages in the\ Friedmann-Lemaître-Robertson-Walker metric. +%description %_description + +%package -n python2-pymilia +Summary: %summary +Provides: python2-pymilia +%{?python_provide:%python_provide python2-pymilia} +# Remove before F30 +Provides: pymilia = %{version}-%{release} + +%description -n python2-pymilia %_description + %if 0%{?with_python3} %package -n python3-pymilia Summary: Python wrappers for milia @@ -77,7 +86,7 @@ popd %{__python2} setup.py install --skip-build --root %{buildroot} chmod 755 %{buildroot}%{python2_sitearch}/milia/*.so -%files +%files -n python2-pymilia %doc README.txt NEWS.txt %license LICENSE.txt %{python2_sitearch}/milia/ @@ -92,6 +101,10 @@ chmod 755 %{buildroot}%{python2_sitearch}/milia/*.so %endif # with_python3 %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.0.0-17 +- Python 2 binary package renamed to python2-pymilia + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild