gemi@xxxxxxxxxx (Gérard Milmeister) writes: > %post > /usr/sbin/semanage fcontext -a -t textrel_shlib_t "%{_libdir}/gcl-%{version}/unixport/saved_ansi_gcl" > /sbin/restorecon "%{_libdir}/gcl-%{version}/unixport/saved_ansi_gcl" > %postun > /usr/sbin/semanage fcontext -d -t textrel_shlib_t "%{_libdir}/gcl-%{version}/unixport/saved_ansi_gcl" > > Is this acceptable? You should add a '|| :' after each command to avoid problems when SELinux is disabled or when /usr is mounted read-only. Enrico
Attachment:
pgpd6wY3Jz76s.pgp
Description: PGP signature
-- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list