[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
spec file for multiple distributions.
- From: Martin Hamant <mh accelance fr>
- To: rpm-list redhat com
- Subject: spec file for multiple distributions.
- Date: Thu, 3 May 2007 12:03:36 +0200
Hi,
I have to write a specfile which need to build on many redhat/centos
distributions with differents versions. The software that I have to
build needs special action on sources regarding the distribution. What
is the best way to do this these days ? Is there a builtin function in
RPM to autodetect the distro name and version ? (el3, el4, el5?) ?
About rpmforge packages, i don't really understand how does it works:
they use %{dist} but it's defined in a macro? and about naming
packages : can i dynamically name a package regarding to the
distribution it's been built ?
Thank you !!
--
Martin
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]