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
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list