diff --git trademgen/trademgen.spec trademgen/trademgen.spec.tmp index cbe3995952..b4c0955686 100644 --- trademgen/trademgen.spec +++ trademgen/trademgen.spec.tmp @@ -18,7 +18,7 @@ # Name: trademgen Version: 1.00.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: C++ Simulated Travel Demand Generation Library @@ -75,14 +75,18 @@ for %{name}. All that documentation is generated thanks to Doxygen online (http://%{name}.org). %if %{with python} -%package python +%package -n python2-trademgen +%{?python_provide:%python_provide python2-trademgen} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Group: Development/Languages Requires: %{name}%{?_isa} = %{version}-%{release} BuildRequires: python-devel BuildRequires: python-setuptools -%description python +%description -n python2-trademgen This package contains Python libraries for %{name} %endif @@ -162,7 +166,7 @@ rm -rf $RPM_BUILD_ROOT %doc COPYING %if %{with python} -%files python +%files -n python2-trademgen %{python2_sitearch}/libpy%{name}/ %{_mandir}/man1/py%{name}.1.* %{_mandir}/man1/%{name}_drawBookingArrivals.1.* @@ -170,6 +174,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.00.2-14 +- Python 2 binary package renamed to python2-trademgen + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.00.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild