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

Setting binary rpm name according to a condition



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/>




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