Skip to content

Commit

Permalink
selinux: Also depend on selinux-policy release
Browse files Browse the repository at this point in the history
  • Loading branch information
marusak authored and martinpitt committed May 4, 2021
1 parent eb0c333 commit fc9e71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/cockpit.spec
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Source0: https://github.com/cockpit-project/cockpit/releases/download/%{v
%if 0%{?rhel} >= 9 || 0%{?fedora}
%define selinuxtype targeted
%define with_selinux 1
%define selinux_policy_version %(rpm --quiet -q selinux-policy && rpm -q --queryformat "%{V}" selinux-policy || echo 1)
%define selinux_policy_version %(rpm --quiet -q selinux-policy && rpm -q --queryformat "%{V}-%{R}" selinux-policy || echo 1)
%endif

BuildRequires: gcc
Expand Down

0 comments on commit fc9e71d

Please sign in to comment.