2009/4/8 Philipp Thomas <pth@suse.de>:
- Cristian Morales Vega (cmorve69@yahoo.es) [20090408 12:19]:
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?
There is only kernel support present plus patches to various packages to work in the presence of selinux. We do not ship any policies nor do are the userspace tools present. So just ignore such scripts as these won't work without a lot of work done by the user.
OK.
- %ifarch %{ix86} && %if ! 0%{?suse_version} < 1110 ?
- %ifarch %{ix86} && ! 0%{?suse_version} < 1110 ?
I have no idea whether such chaining of conditions does work. I'd simply cascade them, i.e.
%ifarch %{ix86} %if 0%{?suse_version} < 1110
The problem is the "%else". If I change %ifarch %{ix86} A %else B %endif to %ifarch %{ix86} %if ! 0%{?suse_version} < 1110 A %else B %endif %endif in case "%ifarch %{ix86}" is false neither A nor B will not be used. And if i change it to %ifarch %{ix86} %if ! 0%{?suse_version} < 1110 A %endif %else B %endif in case "%ifarch %{ix86}" is true and "%if ! 0%{?suse_version} < 1110" is false also neither A nor B will not be used. So the only way to do such a thing without chaining conditions I see would be duplicating B. %ifarch %{ix86} %if ! 0%{?suse_version} < 1110 A %else B %endif %else B %endif -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org