[packagers] noob help needed with %{dist}

Martin Hamant mh at accelance.fr
Fri May 4 11:19:50 CEST 2007


Hi !

I don't understand how does it works. My target is to make a RPM (for
private use) that could be built on different distro, and so i have
questions:

- Is %{dist} internally defined by RPM engine (seems not! I tried some
echo %{dist}... ) , or do I need a special macro to get it defined
before the build ?

- I know rpmforge packagers use %{dist} to dynamically name their
package (in release) : Why can't i see any {%dist} references in
specfiles ?

Thank you very much !

-- 
Martin



More information about the packagers mailing list