In the sample code I provided, there was an extra '%', which my mailer
helpfully added.  The code should read:

   #  detect if we're running under SuSE
   %define platform_suse %( if [ -f /etc/SuSE-release ]; then echo 1; else echo 0; fi )
   %if %{platform_suse}
   Requires: rpm >= 3.0.6-278
   Requires: /usr/bin/sed
   %else
   Requires: rpm >= 4.0.2
   Requires: /bin/sed
   %endif

Sean
-- 
 The sooner you start to code, the longer the program will take.
                 -- Roy Carlson
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com, ltd. - Linux Consulting since 1995.  Qmail, Python, SysAdmin


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to