[packagers] Setting up an rpmforge/rpmrepo dev environment
Tom G. Christensen
tgc at statsbiblioteket.dk
Fri Nov 30 10:26:22 CET 2007
Dag Wieers wrote:
> On Fri, 30 Nov 2007, Tom G. Christensen wrote:
>
>> Dag, if you're listening I'd strongly prefer rpmforge/rpmrepo to include
>> %{?dist} in the specfiles directly :)
>
> Dries and I am not in favor of this.
>
If you don't mind me asking, why not?
In my view it makes it easier that you don't have to massage the
specfile before putting it through the buildsystem.
>> I'd also prefer that you only used %dtag to create a disttag ie. now you have
>> (from mplayer.spec):
>> %{?dtag: %{expand: %%define %dtag 1}}
>> %{?fedora: %{expand: %%define fc%{fedora} 1}}
>> I'd prefer that you just used %dtag to expand to fcX/fX as appropriate aswell
>> as elX instead of what seems to be an extra unecessary step.
>
> Sure, sadly %{fedora} %{rhel} are tags used by Fedora and these have been
> added by Matthias to work in the Fedora environment.
>
Defining rhel and fedora (and perhaps rhl too) is fine, I do that aswell
but I only use them to make checks like rhel > 4 or similar.
I see no advantage in having two seperate ways to expand a disttag like
above.
>> Most of all though, I'd prefer documentation on how to setup an
>> rpmforge/rpmrepo compatible buildsystem in just a few easy steps :)
>
> Yes, I would like that as well. But there are a few missing pieces and I
> do not have the time to work on this. I hope this is done within the
> rpmrepo project though.
>
Good! It's one of the things I really hope will come together for
rpmrepo, a well documented standard for building packages within the
project.
-tgc
More information about the packagers
mailing list