From 23e502b7897fbcfdaf7c59d3e668fd07b268f9f0 Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Tue, 12 Dec 2023 12:43:28 -0600 Subject: [PATCH] Excluded content and file time for runalerts.php from rpm verification runalerts.php is rendered by policy, as such it's content and file time are expected to change. This modification excludes file time and md5 content from RPM verification. Ticket: ENT-11094 Changelog: Title --- packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in index b47abd846..31ebae87d 100644 --- a/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in +++ b/packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in @@ -97,6 +97,7 @@ cp -R %{_basedir}/mission-portal $RPM_BUILD_ROOT%prefix/share/GUI rm -f $RPM_BUILD_ROOT%prefix/share/GUI/runalerts.php cp -v %{_basedir}/mission-portal/runalerts.php $RPM_BUILD_ROOT%prefix/bin/runalerts.php +%verify(owner group mode maj min symlink) %prefix/bin/runalerts.php cp -vR %{_basedir}/mission-portal/Apache-htaccess $RPM_BUILD_ROOT%prefix/share/GUI/htaccess mkdir -p $RPM_BUILD_ROOT%prefix/share/GUI/api