On Tue, May 19, 2015 at 12:45 PM, Robert Munteanu
<[email protected]> wrote:
> 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
>>

I tried to refresh the _service file but this failed.

$ osc diff _service

Index: _service
===================================================================
--- _service    (revision 57ae2e4a605654c4d32c5562f5d64c92)
+++ _service    (working copy)
@@ -1,6 +1,6 @@
<services>
  <service name="tar_scm" mode="disabled">
-    <param name="url">git://github.com/mitchellh/vagrant.git</param>
+    <param name="url">https://github.com/mitchellh/vagrant.git</param>
    <param name="scm">git</param>

    <param name="package-meta">yes</param>
@@ -8,8 +8,8 @@
    <param name="exclude">.gitreview</param>

    <param name="filename">vagrant</param>
-    <param name="version">1.6.5</param>
-    <param name="revision">v1.6.5</param>
+    <param name="version">1.7.2</param>
+    <param name="revision">v1.7.2</param>
    <param name="changesgenerate">enable</param>
  </service>

$ osc service dr

Cloning into '/tmp/tmpqi99Pl/tmpu6TVeW/vagrant'...
ERROR(1): ''
HEAD is now at 1cd667b Update CHANGELOG
Cleaning: /tmp/tmpqi99Pl/tmpu6TVeW /tmp/tmpqi99Pl/vagrant-1.7.2
Identical target file vagrant-1.7.2.tar.bz2 already exists, skipping..
quilt setup failed:
### md5sum: .........b.
### rpmbuild: pppp
ln: failed to create symbolic link 'vagrant-1.7.2/patches': No such
file or directory
/usr/share/quilt/setup: line 490: cd: vagrant-1.7.2: No such file or directory
/usr/share/quilt/setup: line 501: vagrant-1.7.2/series: No such file
or directory
/usr/share/quilt/setup: line 504: vagrant-1.7.2/series: No such file
or directory
ln: failed to create symbolic link 'vagrant-1.7.2/patches': No such
file or directory
/usr/share/quilt/setup: line 490: cd: vagrant-1.7.2: No such file or directory
/usr/share/quilt/setup: line 501: vagrant-1.7.2/series: No such file
or directory
/usr/share/quilt/setup: line 504: vagrant-1.7.2/series: No such file
or directory
ln: failed to create symbolic link 'vagrant-1.7.2/patches': No such
file or directory
/usr/share/quilt/setup: line 490: cd: vagrant-1.7.2: No such file or directory
/usr/share/quilt/setup: line 501: vagrant-1.7.2/series: No such file
or directory
/usr/share/quilt/setup: line 504: vagrant-1.7.2/series: No such file
or directory
ln: failed to create symbolic link 'vagrant-1.7.2/patches': No such
file or directory
/usr/share/quilt/setup: line 490: cd: vagrant-1.7.2: No such file or directory
/usr/share/quilt/setup: line 501: vagrant-1.7.2/series: No such file
or directory
/usr/share/quilt/setup: line 504: vagrant-1.7.2/series: No such file
or directory

Aborting: service call failed:  /usr/lib/obs/service/refresh_patches
--changesgenerate enable --outdir /tmp/tmpm3uvnE


What am I doing wrong?

Thanks,

Robert
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to