Skip to content

Commit

Permalink
Reverse the logic and only on platforms newer than el7
Browse files Browse the repository at this point in the history
  • Loading branch information
nickanderson committed Jan 5, 2024
1 parent be07637 commit 0af44af
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,11 @@ exit 0
%prefix/share/postgresql/*
# PostgreSQL log file
%attr(600,cfpostgres,cfpostgres) /var/log/postgresql.log
%if %{?rhel}%{!?rhel:0} > 7
# Only verify owner group mode maj min symlink
# Don't verify md5, size, mtime
%verify(not md5 size mtime) /var/log/postgresql.log
%endif

# ENT-2708, ENT-2846
%defattr(600,root,root,700)
Expand Down Expand Up @@ -399,7 +404,4 @@ exit 0
%dir %prefix/inputs
%dir %prefix/state

# Customizing verification
%verify(owner group mode maj min symlink) /var/log/postgresql.log

%changelog

0 comments on commit 0af44af

Please sign in to comment.