Resolves: RHEL-19177
This commit is contained in:
parent
8f39440d32
commit
783648b9cf
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,3 +29,4 @@
|
||||
/sanlock-3.8.0.tar.gz
|
||||
/sanlock-3.8.1.tar.gz
|
||||
/sanlock-3.8.4.tar.gz
|
||||
/sanlock-3.9.0.tar.gz
|
||||
|
||||
23
sanlock.spec
23
sanlock.spec
@ -1,6 +1,6 @@
|
||||
Name: sanlock
|
||||
Version: 3.8.4
|
||||
Release: 4%{?dist}
|
||||
Version: 3.9.0
|
||||
Release: 1%{?dist}
|
||||
Summary: A shared storage lock manager
|
||||
|
||||
License: GPLv2 and GPLv2+ and LGPLv2+
|
||||
@ -22,20 +22,14 @@ Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
Source0: https://releases.pagure.org/sanlock/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: 0001-sanlock-fix-memory-leak-of-lockspace-renewal_history.patch
|
||||
Patch1: 0002-sanlock-fix-pthread_create-error-check.patch
|
||||
Patch2: 0003-Revert-sanlock-Shrink-thread-pool-when-there-is-no-w.patch
|
||||
Patch3: 0004-sanlock-fix-pthread_create-error-paths.patch
|
||||
#Patch0:
|
||||
|
||||
%description
|
||||
The sanlock daemon manages leases for applications on hosts using shared storage.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .backup0
|
||||
%patch1 -p1 -b .backup1
|
||||
%patch2 -p1 -b .backup2
|
||||
%patch3 -p1 -b .backup3
|
||||
#%patch0 -p1 -b .backup0
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
@ -73,7 +67,7 @@ install -D -m 0644 init.d/wdmd.sysconfig \
|
||||
$RPM_BUILD_ROOT/etc/sysconfig/wdmd
|
||||
|
||||
install -Dd -m 0755 $RPM_BUILD_ROOT/etc/wdmd.d
|
||||
install -Dd -m 0775 $RPM_BUILD_ROOT/%{_localstatedir}/run/sanlock
|
||||
install -Dd -m 0775 $RPM_BUILD_ROOT/run/sanlock
|
||||
|
||||
%pre
|
||||
getent group sanlock > /dev/null || /usr/sbin/groupadd \
|
||||
@ -100,7 +94,7 @@ getent passwd sanlock > /dev/null || /usr/sbin/useradd \
|
||||
%{_sbindir}/wdmd
|
||||
%dir %{_sysconfdir}/wdmd.d
|
||||
%dir %{_sysconfdir}/sanlock
|
||||
%dir %attr(-,sanlock,sanlock) %{_localstatedir}/run/sanlock
|
||||
%dir %attr(-,sanlock,sanlock) /run/sanlock
|
||||
%{_mandir}/man8/wdmd*
|
||||
%{_mandir}/man8/sanlock*
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/sanlock
|
||||
@ -162,6 +156,9 @@ developing applications that use %{name}.
|
||||
%{_libdir}/pkgconfig/libsanlock_client.pc
|
||||
|
||||
%changelog
|
||||
* Wed Dec 13 2023 David Teigland <teigland@redhat.com> - 3.9.0-1
|
||||
- rebase to new upstream release
|
||||
|
||||
* Fri Apr 01 2022 David Teigland <teigland@redhat.com> - 3.8.4-4
|
||||
- fixes for thread/memory leak
|
||||
|
||||
@ -173,7 +170,7 @@ developing applications that use %{name}.
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Mon Jun 28 2021 David Teigland <teigland@redhat.com> - 3.8.1-10
|
||||
- fuck this process
|
||||
- f#ck this process
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.8.1-9
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (sanlock-3.8.4.tar.gz) = 9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c
|
||||
SHA512 (sanlock-3.9.0.tar.gz) = 16ac4333843d4cc68b8c62ca14480bda6cf7599c5bfd3cd3e008698625c9882a80db8e2d217327642abf8e029ce2a54f25672c7319e0178eb87a98d9aca06d82
|
||||
|
||||
Loading…
Reference in New Issue
Block a user