Post by Doron ShohamI'm writing a spec file that creates 2 packages.
Both packages contain a file that has the same name
/etc/init.d/my_file - for package #1
/etc/init.d/my_file - for package #2
I don't think it's possible.
But you can use another approcah:
Have in this package both of those files:
/etc/init.d/my_file_for_package_1
/etc/init.d/my_file_for_package_2
And make %postinstall script, which should determine
what system is in use and create
/etc/init.d/my_file as link to
/etc/init.d/my_file_for_package_1 or
/etc/init.d/my_file_for_package_2
Valery.
Post by Doron ShohamDuring the %install phase, I need to put these 2
different files in the same location (/etc/init.d/),
so when I copy the 2nd file, it overwrites the 1st
file. What can I do to solve that?
Thanks,
Doron
Post by Doron ShohamHi,
I want to create two different rpms (one for
redhat and the other for suse) in the same spec
file.
Post by Doron ShohamI have a file that is needed be in the same path
(/etc/init) for both distros,
Post by Doron ShohamThe file's name is the same but its content is not
the same for the two distros.
Post by Doron ShohamHow can I do it?
Can %install can get "-n" as a parameter?
Thanks,
Doron Shoham
_______________________________________________
Rpm-list mailing list
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________
Rpm-list mailing list
https://www.redhat.com/mailman/listinfo/rpm-list
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ