diff --git libiptcdata/libiptcdata.spec libiptcdata/libiptcdata.spec.tmp index 1ba1f16f33..af4195f163 100644 --- libiptcdata/libiptcdata.spec +++ libiptcdata/libiptcdata.spec.tmp @@ -4,7 +4,7 @@ Name: libiptcdata Version: 1.0.4 -Release: 18%{?dist} +Release: 19%{?dist} Summary: IPTC tag library Group: Development/Libraries @@ -33,13 +33,17 @@ Requires: pkgconfig The libiptcdata-devel package contains the libraries and include files that you can use to develop libiptcdata applications. -%package python +%package -n python2-libiptcdata +%{?python_provide:%python_provide python2-libiptcdata} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for libiptcdata Group: Development/Libraries Requires: %{name} = %{version}-%{release} BuildRequires: python-devel -%description python +%description -n python2-libiptcdata The libiptcdata-python package contains a Python module that allows Python applications to use the libiptcdata API for reading and writing IPTC metadata in images. @@ -78,13 +82,17 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/libiptcdata %{_datadir}/gtk-doc/html/libiptcdata -%files python +%files -n python2-libiptcdata %defattr(-,root,root) %doc python/README %doc python/examples/* %{python_sitearch}/*.so %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.4-19 +- Python 2 binary package renamed to python2-libiptcdata + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0.4-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild