Re: make rpm packages for all linux distributions
- From: Michael Heiming <michael+USENET@xxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 08:21:02 +0100
In comp.os.linux.misc havis <bazoalto@xxxxxxxxx>:
Hi all, i have a problem, I am using rpm to create rpm packages for
linux. Now, I have a problem, when it is redhat distribution, the rpm
must work on one way, but when it is suse it must work other way. I can
not find the way to accomplish this. rpm ifos or ifarch options just
make difference between architectures and operating systems, but for
all linux distributions they use "Linux" as identifier, so it is not
possible to make a difference between linux redhat and linux suse for
example. Can anyone help me? thanx.
Use %post in your rpm, like checking for distro and do what you
want. See our newreader FAQ (scroll down a bit) for some hints
how to get the distro name.
Good luck
--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 287: Telecommunications is downshifting.
.
- References:
- make rpm packages for all linux distributions
- From: havis
- make rpm packages for all linux distributions
- Prev by Date: Re: make rpm packages for all linux distributions
- Next by Date: Re: patching RPMs
- Previous by thread: Re: make rpm packages for all linux distributions
- Next by thread: printing queued cups file to windows local pc printer. Possible?
- Index(es):
Relevant Pages
|