VCS key in spec files and some scripts

2010-02-25 Thread Colin Walters
Dear Fedora Developers, So recently I found myself desiring to update a .spec file for a snapshot of a git tree in an automated fashion. As you may or may not know, this actually has a surprising number of flaming hoops through which you must jump. The first one, when scripting such a thing, is

Re: VCS key in spec files and some scripts

2010-02-26 Thread Till Maas
On Fri, Feb 26, 2010 at 02:03:49AM +, Colin Walters wrote: > So recently I found myself desiring to update a .spec file for a > snapshot of a git tree in an automated fashion. As you may or may not > know, this actually has a surprising number of flaming hoops through > which you must jump. >

Re: VCS key in spec files and some scripts

2010-02-26 Thread Colin Walters
On Fri, Feb 26, 2010 at 6:04 PM, Till Maas wrote: > > Thanks, this looks useful. I will try to use them, too. From their > description they should be helpful to just check whether the current > SPEC would still build the current upstream SCM version. Yeah, the basic idea is that they modify the .

Re: VCS key in spec files and some scripts

2010-03-05 Thread Till Maas
On Fri, Feb 26, 2010 at 06:39:11PM +, Colin Walters wrote: > On Fri, Feb 26, 2010 at 6:04 PM, Till Maas wrote: > > > > Thanks, this looks useful. I will try to use them, too. From their > > description they should be helpful to just check whether the current > > SPEC would still build the curr

Re: VCS key in spec files and some scripts

2010-03-05 Thread Colin Walters
On Fri, Mar 5, 2010 at 6:05 AM, Till Maas wrote: > > Here is my first feature request: please make the fedora buildsys > specific items optional, e.g. if there is no sources file, then just > skip all the CVS etc. stuff, but only fetch the tarball and update the > spec. This would make it possible

Re: VCS key in spec files and some scripts

2010-03-05 Thread Till Maas
On Fri, Mar 05, 2010 at 09:53:59AM -0500, Colin Walters wrote: > On Fri, Mar 5, 2010 at 6:05 AM, Till Maas wrote: > > Also a link to an example spec would be helpful. > > For just the #VCS key? Let me instead write up a formal proposal: It helps to have something that is supposed to work to ge

Re: VCS key in spec files and some scripts

2010-03-06 Thread Till Maas
On Fri, Mar 05, 2010 at 09:53:59AM -0500, Colin Walters wrote: > On Fri, Mar 5, 2010 at 6:05 AM, Till Maas wrote: > > Also a link to an example spec would be helpful. The fedora-easy-karma.spec now uses this, so in case anyone else is interested to test it, it can be used. But I needed some patc