On Wed, Aug 06, 2008 at 04:38:47PM -0400, steve muskiewicz wrote: Hi,
> Question concerning the "openpkg index" command. I have a local OpenPKG > repository that includes a couple of my own internally developed RPM > packages. In those packages spec files, I generally make use of an RPM > macro in the Release: tag since I am building these packages for > different projects or OSes, ie. something like: > > Release: 2%{rpmdist}.20080716 The index tool just parses information from specfiles, it doesn't know much about the inner workings of RPM and IMHO it shouldn't recognize such implicit user options because that links the build process tightly to the index process. There would also be the question on how complex your .rpmmacros may become. On the other hand, explicit options don't give such problems. It should be easy to teach the index tool to understand an option like -Drpmdist=.rhel for a macro definition that is predefined for all spec-files. Greetings, -- Michael van Elst Internet: [EMAIL PROTECTED] "A potential Snark may lurk in every tree." ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org