diff --git gamin/gamin.spec gamin/gamin.spec.tmp index 58438ccd3f..32c42aa487 100644 --- gamin/gamin.spec +++ gamin/gamin.spec.tmp @@ -5,7 +5,7 @@ Summary: Library providing the FAM File Alteration Monitor API Name: gamin Version: 0.1.10 -Release: 27%{?dist} +Release: 28%{?dist} License: LGPLv2 #some of the files (server/inotify-kernel.c) are GPLv2 #so https://fedoraproject.org/wiki/Licensing#GPL_Compatibility_Matrix @@ -52,14 +52,16 @@ This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM but not dependent on a system wide daemon. -%package python +%package -n python2-gamin Summary: Python bindings for the gamin library Group: Development/Libraries -Provides: python-gamin = %{version}-%{release} -Provides: python2-gamin = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} +%{?python_provide:%python_provide python2-gamin} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} -%description python +%description -n python2-gamin The gamin-python package contains a module that allow monitoring of files and directories from the Python language based on the support of the gamin package. @@ -131,13 +133,17 @@ rm -fv %{buildroot}%{_libdir}/libgamin_shared.a %{_includedir}/fam.h %{_libdir}/pkgconfig/gamin.pc -%files python +%files -n python2-gamin %{python2_sitearch}/gamin.py* %{python2_sitearch}/_gamin* %doc python/tests/*.py %doc doc/python.html %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.10-28 +- Python 2 binary package renamed to python2-gamin + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 0.1.10-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild