diff --git rrdtool/rrdtool.spec rrdtool/rrdtool.spec.tmp index f097e6321f..79e7638838 100644 --- rrdtool/rrdtool.spec +++ rrdtool/rrdtool.spec.tmp @@ -17,7 +17,7 @@ Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool Version: 1.7.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2+ with exceptions Group: Applications/Databases URL: http://oss.oetiker.ch/rrdtool/ @@ -88,7 +88,11 @@ The Perl RRDtool bindings # give a default value to handle parsing in cases when python is not present: %{!?rrd_python_version: %global rrd_python_version %(%{__python} -c 'import sys; print sys.version.split(" ")[0]' || echo "3.14")} -%package python +%package -n python2-rrdtool +%{?python_provide:%python_provide python2-rrdtool} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python RRDtool bindings Group: Development/Languages BuildRequires: python-devel @@ -97,7 +101,7 @@ Requires: %{name} = %{version}-%{release} Obsoletes: python-%{name} < %{version}-%{release} Provides: python-%{name} = %{version}-%{release} -%description python +%description -n python2-rrdtool Python RRDtool bindings. %endif @@ -355,7 +359,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \ %attr(0755,root,root) %{perl_vendorarch}/auto/RRDs/ %if %{with_python} -%files python +%files -n python2-rrdtool %doc bindings/python/COPYING bindings/python/README.md %{python_sitearch}/rrdtool.so %{python_sitearch}/rrdtool-*.egg-info @@ -389,6 +393,10 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \ %endif %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.7.0-5 +- Python 2 binary package renamed to python2-rrdtool + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild