localpkg helper script for fedpkg

Bernie Innocenti bernie at codewiz.org
Tue Jan 25 19:20:44 EST 2011

On Tue, 2011-01-25 at 16:11 -0500, Martin Langhoff wrote: 
> If you are using or experimenting with fedpkg, I am putting some
> simple helper bits in an accessory "localpkg" python script (at
> http://dev.laptop.org/git/users/martin/localpkg or
> git://dev.laptop.org/users/martin/localpkg  ).
> It currently has some helpers that allow me to build straight from a
> git checkout. Useful for tiny, non-upstream codebases that pack their
> own spec file.

I often do local builds with fedpkg like so:

  fedpkg srpm
  rpmbuild --rebuild foo.rpm

Wouldn't it be nice if fedpkg could provide a target equivalent to the
old Makefile.common target "local"?

   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/

More information about the Devel mailing list