-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 17 Dec 2008 13:50:04 +0100 Jan Pazdziora <[email protected]> wrote:
> > Devan, > > if I need srpm from particular tag, I can do > > spacewalk$ make srpm TAG=tsdb-1.27.17-1 > > in the top level of the spacewalk repo and get .src.rpm created. > > If I try > > spacewalk$ rel-eng/bin/build.py --tag=tsdb-1.27.17-1 --srpm > > I get > > ERROR: Unable to locate a spec file > in /mnt/data/project/spacewalk > > What is the correct way of building a package from a particular tag, > without chdirring to package's directory (which might not even exist > by now)? > This should be working now. % build.py --tag=spacewalk-setup-0.4.2-1 --srpm Building version: 0.4.2 Creating spacewalk-setup-0.4.2.tar.gz from git tag: 1faab1f475408ddf07a94accf029e2a212995d23... Wrote: /tmp/spacewalk-build/spacewalk-setup-0.4.2.tar.gz Wrote: /tmp/spacewalk-build/spacewalk-setup-0.4.2-1.fc9.src.rpm I ran into an issue with packages that need build.py.props (basically those that use NO_TAR_GZ previously) particularly when building a tag that was created prior to build.py.props. If anyone needs to build such a package version (and creating a new tag is out of the question) then I can add a - --properties-file option to build.py to force it, or we can just use make. (could use git-checkout some-past-revision if Makefiles were deleted at that point in time) Cheers, Devan - -- Devan Goodwin <[email protected]> Software Engineer - Spacewalk / RHN Satellite Halifax, Canada 650.567.9039x79267 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklJiroACgkQAyHWaPV9my62fQCfYGAVWECnMoBcfVI08BKl23Tv DOwAn21TV5ew7JaK3Epq9DkYtCUxPJLb =eXjp -----END PGP SIGNATURE----- _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
