SELinux settings in SPEC file

Gérard Milmeister gemi at
Thu Apr 13 19:08:15 UTC 2006

I have now the following lines in the SPEC file for gcl:

Requires(post): policycoreutils
Requires(postun): policycoreutils
/usr/sbin/semanage fcontext -a -t textrel_shlib_t
/sbin/restorecon "%{_libdir}/gcl-%{version}/unixport/saved_ansi_gcl"
/usr/sbin/semanage fcontext -d -t textrel_shlib_t

Is this acceptable? The package only builds with SELinux disabled,
but this is the case on the buildsystem, so I don't think it
will be a problem.

Gérard Milmeister
Langackerstrasse 49
CH-8057 Zürich

More information about the fedora-extras-list mailing list