Excerpts from Dagobert Michelsen's message of Tue Apr 14 15:02:02 -0400 2009:
Hi Dago, I dug into mkpackage and discovered that we are already supplying the package filename (pkgname) via the csw_vars.gspec file that gets pulled in. So, I added a very small change to the dynamic gspec generation code that supplies a %var that will supersede the %cvar if the svn repo is in an uncommitted state. This seems to work for ENABLE_CHECK=0 and doesn't require an after-the-fact rename. The downside to this approach is that if the maintainer hasn't converted to dynamic gspec, then this modification won't be used. I'm ok with that personally. What do you think? [I added the UNCOMMITED at the end of the filename as replacing REV=... was triggering a checkpkg rule.] Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu Contact me to arrange for a CAcert assurance meeting.
svn_uncommitted_pkgfile.patch
Description: Binary data
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel