Setting binary rpm name according to a condition

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

 



Hi,

I want to build a src rpm file that can be built to a binary rpm. The name of the binary rpm depends on a condition (actually, I want to check the distribution type and set the binary rpm name accordingly). How can I do that?

Example:

The src rpm:
my_src_rpm.src.rpm

If it is built on RedHat:
redhat_name.<arch>.rpm

If it is built on SuSE:
suse_name.<arch>.rpm

Thanks,
--

____________________________________________________________

Erez Zilber | 972-9-971-7689

Software Engineer, Storage Team

Voltaire – _The Grid Backbone_

__

www.voltaire.com <http://www.voltaire.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