> Use > > %if %(test -e /etc/redhat-release && echo 1 || else 0) > > (output is checked, so you have to output something) thanks once again its working. Do you know any latest link for spec file. Apart from maximux rpms(other than old links) which i can refer for my basic queries. Shweta _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list