Skip to content

Commit

Permalink
handle situation when _selinux_policy_version is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
xsuchy committed Jul 31, 2024
1 parent 7a19b5c commit 691878a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist-git/dist-git.spec
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ BuildRequires: selinux-policy-devel
BuildRequires: hardlink

Requires: %name = %version-%release
%if "%{_selinux_policy_version}" != ""
%if "%{?_selinux_policy_version}" != ""
Requires: selinux-policy >= %{_selinux_policy_version}
%endif
Requires(post): /usr/sbin/semodule, /sbin/restorecon
Expand Down

0 comments on commit 691878a

Please sign in to comment.