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