diff --git a/lprint.spec b/lprint.spec index af7c2d2..d4f8234 100644 --- a/lprint.spec +++ b/lprint.spec @@ -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 - 1.3.1-8 +- RHEL-62834 ignore the mode on lprint.state + * Mon Nov 18 2024 Zdenek Dohnal - 1.3.1-7 - RHEL-62834 Fix post scriptlet