Re: Use of %if statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux