Resolves: RHEL-61238
This commit is contained in:
parent
fbe2564c39
commit
54748bc4e6
11
sanlock.spec
11
sanlock.spec
@ -1,6 +1,6 @@
|
||||
Name: sanlock
|
||||
Version: 3.9.4
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A shared storage lock manager
|
||||
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
URL: https://pagure.io/sanlock/
|
||||
@ -10,6 +10,8 @@ BuildRequires: libblkid-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: systemd-units
|
||||
BuildRequires: systemd-rpm-macros
|
||||
%{?sysusers_requires_compat}
|
||||
Requires: %{name}-lib = %{version}-%{release}
|
||||
Requires(post): systemd-units
|
||||
Requires(post): systemd-sysv
|
||||
@ -58,10 +60,9 @@ 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
|
||||
|
||||
%pre
|
||||
%sysusers_create_compat sanlock.sysusers
|
||||
%sysusers_create_compat src/sanlock.sysusers
|
||||
|
||||
%post
|
||||
%systemd_post wdmd.service sanlock.service
|
||||
@ -80,7 +81,6 @@ install -Dd -m 0775 $RPM_BUILD_ROOT/%{_localstatedir}/run/sanlock
|
||||
%{_sbindir}/wdmd
|
||||
%dir %{_sysconfdir}/wdmd.d
|
||||
%dir %{_sysconfdir}/sanlock
|
||||
%dir %attr(-,sanlock,sanlock) %{_localstatedir}/run/sanlock
|
||||
%{_mandir}/man8/wdmd*
|
||||
%{_mandir}/man8/sanlock*
|
||||
%config(noreplace) %{_sysconfdir}/logrotate.d/sanlock
|
||||
@ -126,6 +126,9 @@ developing applications that use %{name}.
|
||||
%{_libdir}/pkgconfig/libsanlock_client.pc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 03 2024 David Teigland <teigland@redhat.com> - 3.9.4-3
|
||||
- fix install of sanlock.sysusers
|
||||
|
||||
* Wed Aug 14 2024 David Teigland <teigland@redhat.com> - 3.9.4-2
|
||||
- fix invalid strcpy in direct dump
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user