[Pulp-list] retarded selinux_policyver in spec
Alan Milligan
alan.milligan at last-bastion.net
Fri Jul 29 03:24:30 UTC 2016
Hi,
In pulp.spec, we have this travesty:
%define selinux_policyver %(sed -e
's,.*selinux-policy-\\([^/]*\\)/.*,\\1,'
/usr/share/selinux/devel/policyhelp 2> /dev/null)
Which supposedly fires up xdg and groks the policy version out of a help
browser footer.
Really????
Full marks for invention: but it doesn't actually work in my setup as
there is no version displayed ...
How about something less ambitious - perhaps like:
%define selinux_policyver %(rpm --qf "%{version}" -q selinux-policy)
Alan
More information about the Pulp-list
mailing list