Le mercredi 12 janvier 2005 Ã 16:10 -0500, Jim Starkey a Ãcrit : > This has to be a common problem, but I haven't been able to find a solution. > > I'm writing an rpm specification that needs to install an application > specific Apache configuration file that works on both Redhat and SuSE > systems. The gist of the problem is that on Redhat systems, the file > needs to go into /etc/httpd/conf.d, but on recent SuSE system it goes > into /etc/apache2/conf.d. > > Is the only solution a condition laden script in %post? See http://www.jpackage.org/cgi- bin/cvsweb/jpackage/rpms/free/mod_jk/mod_jk.spec?rev=1.1.2.5&content- type=text/x-cvsweb-markup&only_with_tag=JPACKAGE_UTILS_1_5 for an example of pretty ugly defines to get one single spec working of different apache installs. Please note you'll still need to rebuild your rpm on each different target distro, but this way you'll only have a single srpm/spec to manage. Regards, -- Nicolas Mailhot
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list