Cristian Morales Vega escribió:
%ifarch %{ix86} %postun /sbin/ldconfig # SELinux support if [ $1 -eq 0 ]; then # final removal semanage fcontext -d -t textrel_shlib_t \ '%{_libdir}/allegro/4\.2\.2/alleg-vga\.so' 2>/dev/null || : fi %else %postun -p /sbin/ldconfig %endif
And since I read that since 11.1 we support SELinux... and little more, one ask himself what should be done in openSUSE. Are packages needed to be modified for SELinux?
heh, this is just one of the subtle issues to take care, to find what other packages in your system may need exactly the same scriptlet, do a #scanelf -lpqt in a 32 bit system.
Also, since the branching in RPM has been always been something of a mistery to me. How should I modify such a scriptlet to note that SELinux is only avalable since openSUSE 11.1?
It isnt going to work, distribution does not ship user space tools. Short story, it is always harder than you think, is not just dumping code or features and expecting them to work ;-) -- "If this is the best God can do, I am not impressed" -George Carlin (1937-2008) Cristian Rodríguez R. Software Developer Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/