On Tue, Feb 15, 2005 at 03:37:34PM +0530, shweta vohra wrote: > Can we use along with %if in spec file any shell checks like [ -e > /etc/redhat-release ] etc. Use %if %(test -e /etc/redhat-release && echo 1 || else 0) (output is checked, so you have to output something) -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list