diff --git sanlock/sanlock.spec sanlock/sanlock.spec.tmp index ac4c973ada..7988ac81ab 100644 --- sanlock/sanlock.spec +++ sanlock/sanlock.spec.tmp @@ -6,7 +6,7 @@ Name: sanlock Version: 3.5.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A shared storage lock manager Group: System Environment/Base @@ -163,17 +163,21 @@ access to the shared disks. %{_libdir}/libsanlock_client.so.* %{_libdir}/libwdmd.so.* -%package python +%package -n python2-sanlock +%{?python_provide:%python_provide python2-sanlock} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for the sanlock library Group: Development/Libraries Requires: %{name}-lib = %{version}-%{release} -%description python +%description -n python2-sanlock The %{name}-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the sanlock library. -%files python +%files -n python2-sanlock %defattr(-,root,root,-) %{python_sitearch}/sanlock_python-*.egg-info %{python_sitearch}/sanlock.so @@ -278,6 +282,10 @@ common sanlock lockspace. %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.5.0-4 +- Python 2 binary package renamed to python2-sanlock + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild