conditionals question

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

 



Hi folks:

I want to put a conditional section of a build for different cases

%if  "%{_xyz}" == "123"
Requires: glibc >= 2.2
%elseif "%{_xyz}" == "456"
Requires: glibc >= 2.3, gcc >= 3.4
%elseif "%{_xyz}" == "789"
Requires: glibc >= 3, gcc >= 4.0
%endif

Does such a beast exist?  Or do I need to convert these into

   if (condition)

   endif

blocks individually?

Thanks.


-- Joe Landman http://www.scalableinformatics.com

_______________________________________________
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