Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'pulp/2.9-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bouterse committed Aug 2, 2016
2 parents f7332a8 + ae4a0c7 commit 60a6934
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pulp.spec
Expand Up @@ -16,7 +16,7 @@
%if %{pulp_server}
#SELinux
%define selinux_variants mls strict targeted
%define selinux_policyver %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2> /dev/null)
%define selinux_policyver %(rpm --qf "%{version}-%{release}" -q selinux-policy)
%define moduletype apps
%endif

Expand Down Expand Up @@ -950,12 +950,7 @@ BuildRequires: selinux-policy-devel
BuildRequires: hardlink
Obsoletes: pulp-selinux-server

%if "%{selinux_policyver}" != ""
Requires: selinux-policy >= %{selinux_policyver}
%endif
%if 0%{?fedora} == 19
Requires(post): selinux-policy-targeted >= 3.12.1-74
%endif
Requires(post): policycoreutils-python
Requires(post): /usr/sbin/semodule, /sbin/fixfiles, /usr/sbin/semanage
Requires(postun): /usr/sbin/semodule
Expand Down

0 comments on commit 60a6934

Please sign in to comment.