Use of %if statement

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

 



SPEC FILE QUERY
Can we use along with %if in spec file any shell checks like [ -e
/etc/redhat-release ] etc.
I have to check for operating system if it is Fedora or rhel, on basis
of those i have to define macro. (I have tested %ifos but it not seems
to be working , its taking os as linux but i want Fedora or rhel.) or
if any other way then plzzzzzzz discuss

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