23 Aug
2009
23 Aug
'09
20:34
I tried %if 0%{?debian_version} and %if 0%{?ubuntu_version} they do not work. They always act as if false. What does work is: %if "%_repository" == "Debian_Etch" || "%_repository" == "Debian_4.0" || "%_repository" == "Debian_5.0" || "%_repository" == "xUbuntu_6.06" || "%_repository" == "xUbuntu_8.04" || "%_repository" == "xUbuntu_8.10" || "%_repository" == "xUbuntu_9.04" Required: build-essential %endif But of course this has the disadvantage of needing to be edited everytime a new debian distribution is added. -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117