RHEL-62834 ignore the mode on lprint.state
Resolves: RHEL-62834
This commit is contained in:
parent
f901cbd697
commit
c0fd8f46f1
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: lprint
|
Name: lprint
|
||||||
Version: 1.3.1
|
Version: 1.3.1
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: A Label Printer Application
|
Summary: A Label Printer Application
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -96,7 +96,7 @@ fi
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
# generate an empty state file to prevent /etc config file being moved into
|
# 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
|
if test ! -f /var/lib/lprint.state
|
||||||
then
|
then
|
||||||
touch /var/lib/lprint.state
|
touch /var/lib/lprint.state
|
||||||
@ -132,10 +132,13 @@ fi
|
|||||||
%{_mandir}/man1/lprint.1*
|
%{_mandir}/man1/lprint.1*
|
||||||
%{_mandir}/man5/lprint.conf.5*
|
%{_mandir}/man5/lprint.conf.5*
|
||||||
%{_unitdir}/lprint.service
|
%{_unitdir}/lprint.service
|
||||||
%ghost %{_sharedstatedir}/lprint.state
|
%ghost %verify(not mode) %{_sharedstatedir}/lprint.state
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Nov 18 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.3.1-7
|
||||||
- RHEL-62834 Fix post scriptlet
|
- RHEL-62834 Fix post scriptlet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user