On Tue, May 19, 2015 at 12:51 AM, Adam Spiers <[email protected]> wrote:
> Robert Munteanu <[email protected]> wrote:
>> vagrant is no longer distributed as a gem as of 1.5.0 -
>> https://rubygems.org/gems/vagrant . This means that I can't use
>> gem2rpm ( to my knowledge ) as I'm already in the build process when
>> the gem is available.
>>
>> Thinking out loud, is it acceptable to change the update process from:
>>
>> - download tarball; update spec file; osc build
>
> Actually that's not the current process for that gem; it's
>
>   - update revision param in _service file; run osc service dr;
>     update spec file; osc build
>
> That said, the tarballs of the tagged releases *are* directly
> available from GitHub, although I would prefer not to switch
> to those because it's useful to be able to switch _service to point to
> a specific git commit in order to test something, and also tar_scm
> provides a nice caching layer to speed up downloads.

OK, I'll make sure to use that. Note that it's already out of sync,
_service points to 1.6.5, while the local tarball is at 1.7.2 .

>
>> to
>>
>> - download tarball; rebuild gemfile from tarball; update spec file; osc build
>>
>> ?
>>
>> This would bring this build closer to a 'standard' rubygem one, but
>> with the extra hassle when updating versions.
>>
>> Thoughts?
>
> Sounds reasonable; you could do all this in a Makefile, and it
> wouldn't be the first time a Makefile has been used to build package
> sources.

OK, I'll do down that route.

Thanks,

Robert



-- 
http://robert.muntea.nu/
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to