Skip to content

Commit

Permalink
Excluded content and file time for runalerts.php from rpm verification
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nickanderson committed Dec 12, 2023
1 parent 5dde089 commit 23e502b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 23e502b

Please sign in to comment.