Python 2 binary package renamed to python2-sanlock

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:44:08 -04:00
parent 28ebb67cad
commit 8219437cfe

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 3.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild