From c0fd8f46f147a200ef4dfd36b5f90beeeb3757d2 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Mon, 18 Nov 2024 17:16:13 +0100 Subject: [PATCH] RHEL-62834 ignore the mode on lprint.state Resolves: RHEL-62834 --- lprint.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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