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

Commit

Permalink
Update spec file
Browse files Browse the repository at this point in the history
When https://github.com/pulp/devel/blob/master/ansible/library/pulp_facts.py is ran
in vagrant, it  to failes to gather the dependencies for pulp with the error:
"can't parse, unknown tag" for %{selinux_policyver}.
Updating the selinux_policyver tag to global resolves this issue.

Fedora packaging guidelines also state a preference for %global over %define
https://fedoraproject.org/wiki/PackagingDrafts/global_preferred_over_define

re #2497
https://pulp.plan.io/issues/2497
  • Loading branch information
Bihan Zhang committed Feb 22, 2017
1 parent 4ec6d6a commit dc5aa59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulp.spec
Expand Up @@ -17,7 +17,7 @@
%if %{pulp_server}
#SELinux
%define selinux_variants mls strict targeted
%define selinux_policyver %(rpm --qf "%%{version}-%%{release}" -q selinux-policy)
%global selinux_policyver %(rpm --qf "%%{version}-%%{release}" -q selinux-policy)
%define moduletype apps
%endif

Expand Down

0 comments on commit dc5aa59

Please sign in to comment.