Fix build on Fedora rawhide

Add patch 0004-python-Fix-build-on-Fedora-29.patch.
This commit is contained in:
Nir Soffer 2019-02-02 00:54:54 +02:00
parent 28bc14b737
commit d9222aa973

View File

@ -6,7 +6,7 @@
Name: sanlock
Version: 3.6.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: A shared storage lock manager
License: GPLv2 and GPLv2+ and LGPLv2+
@ -30,6 +30,7 @@ Source0: https://releases.pagure.org/sanlock/%{name}-%{version}.tar.gz
Patch0: 0001-Fix-libsanlock-build-on-Unubtu-Debian.patch
Patch1: 0002-fix-makefile-flags.patch
Patch2: 0003-lockfile-Keep-lockfile-owned-by-root.patch
Patch3: 0004-python-Fix-build-on-Fedora-29.patch
%description
The sanlock daemon manages leases for applications on hosts using shared storage.
@ -39,6 +40,7 @@ The sanlock daemon manages leases for applications on hosts using shared storage
%patch0 -p1 -b .0001-Fix-libsanlock-build-on-Unubtu-Debian.patch
%patch1 -p1 -b .0002-fix-makefile-flags.patch
%patch2 -p1 -b .0003-lockfile-Keep-lockfile-owned-by-root.patch
%patch3 -p1 -b .0004-python-Fix-build-on-Fedora-29.patch
%build
%set_build_flags
@ -212,6 +214,9 @@ common sanlock lockspace.
%changelog
* Sat Feb 2 2019 Nir Soffer <nsoffer@redhat.com> - 3.6.0-8
- fix build on Fedora rawhide
* Thu Jan 24 2019 David Teigland <teigland@redhat.com> - 3.6.0-7
- lockfile ownership