spec file for multiple distributions.

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

 



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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux