RHEL-62834 ignore the mode on lprint.state

Resolves: RHEL-62834
This commit is contained in:
Zdenek Dohnal 2024-11-18 17:16:13 +01:00
parent f901cbd697
commit c0fd8f46f1

View File

@ -3,7 +3,7 @@
Name: lprint
Version: 1.3.1
Release: 7%{?dist}
Release: 8%{?dist}
Summary: A Label Printer Application
License: Apache-2.0
@ -96,7 +96,7 @@ fi
%post
# generate an empty state file to prevent /etc config file being moved into
# /var/lib/
# /var/lib/ - it will be rewritten by the daemon either way
if test ! -f /var/lib/lprint.state
then
touch /var/lib/lprint.state
@ -132,10 +132,13 @@ fi
%{_mandir}/man1/lprint.1*
%{_mandir}/man5/lprint.conf.5*
%{_unitdir}/lprint.service
%ghost %{_sharedstatedir}/lprint.state
%ghost %verify(not mode) %{_sharedstatedir}/lprint.state
%changelog
* Mon Nov 18 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.3.1-8
- RHEL-62834 ignore the mode on lprint.state
* Mon Nov 18 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.3.1-7
- RHEL-62834 Fix post scriptlet