Re: [PATCH] Add compatibility back in for older versions of Yum.

2009-02-17 Thread James Antill
On Tue, 2009-02-17 at 10:29 -0600, Jeffrey C. Ollie wrote: > We would like for Koji to remain compatible with the version of Yum > that is shipped with RHEL 5. > > Signed-off-by: Jeffrey C. Ollie > --- > builder/mergerepos | 11 +++ > 1 files changed, 7 insertions(+), 4 deletions(-) >

[PATCH] Add a "sources" target as an alias for "tarball".

2009-02-17 Thread Jeffrey C. Ollie
This makes building Koji packages directly from a Koji git repository in Koji possible. Highly self-referential! Signed-off-by: Jeffrey C. Ollie --- Makefile |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7432f31..fcd4dca 100644 --- a/Makefil

Re: [PATCH] Add compatibility back in for older versions of Yum.

2009-02-17 Thread Mike Bonnet
Jeffrey C. Ollie wrote: We would like for Koji to remain compatible with the version of Yum that is shipped with RHEL 5. Signed-off-by: Jeffrey C. Ollie --- builder/mergerepos | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/builder/mergerepos b/builder/merger

[PATCH] Add a test-srpm target to the Makefile.

2009-02-17 Thread Jeffrey C. Ollie
--- Makefile |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 7432f31..51196ea 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,9 @@ tarball: clean srpm: tarball $(RPM_WITH_DIRS) $(DIST_DEFINES) -bs $(SPECFILE) +test-srpm: tarball +

[PATCH] Add compatibility back in for older versions of Yum.

2009-02-17 Thread Jeffrey C. Ollie
We would like for Koji to remain compatible with the version of Yum that is shipped with RHEL 5. Signed-off-by: Jeffrey C. Ollie --- builder/mergerepos | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/builder/mergerepos b/builder/mergerepos index defb8c1..cfa3a8

[PATCH] yumbase._getConfig() doesn't take any arguments, use yumbase.preconf to set yum up.

2009-02-17 Thread Jeffrey C. Ollie
Signed-off-by: Jeffrey C. Ollie --- builder/mergerepos |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/builder/mergerepos b/builder/mergerepos index 4243444..defb8c1 100755 --- a/builder/mergerepos +++ b/builder/mergerepos @@ -95,7 +95,10 @@ class RepoMerge(object):

Re: [PATCH] Add --chainbuild option.

2009-02-17 Thread Andreas Thienemann
On Tue, 17 Feb 2009, Gianluca Sforna wrote: > It's just that I found myself needing this just after seeing: > > http://thread.gmane.org/gmane.linux.redhat.fedora.devel/97941 > > and Seth's response: > http://article.gmane.org/gmane.linux.redhat.fedora.devel/97950 > > I'm just sharing what I wra

Re: [PATCH] Add --chainbuild option.

2009-02-17 Thread Gianluca Sforna
On Tue, Feb 17, 2009 at 1:23 PM, Andreas Thienemann wrote: > > Is it really worth it including this in mock? > > I'm using the same concept here for our in-house builds. But all the logic > is part of a shellscript which calls mock for both i386 and x86_64 and > fills a "local" repository with the

Re: [PATCH] Add --chainbuild option.

2009-02-17 Thread Andreas Thienemann
On Tue, 17 Feb 2009, Gianluca Sforna wrote: > With this patch, mock grows a --chainbuild option (and a Require on > createrepo). > > The --chainbuild option work by creating a local yum repository in the > resultdir path which is used during the BuildRequires installation > step. > The net result

[PATCH] Add --chainbuild option.

2009-02-17 Thread Gianluca Sforna
With this patch, mock grows a --chainbuild option (and a Require on createrepo). The --chainbuild option work by creating a local yum repository in the resultdir path which is used during the BuildRequires installation step. The net result is that, when building more than one srpm in the same run,