we just made the new template the default in the gem2rpm package in
dl:ruby:extensions/d:l:ruby:backports/d:l:ruby. as such we can leave out
the template part of the g2r script.
On 2014-09-30 14:23:49 +0200, Marcus Rueckert wrote:
> #!/bin/sh
> TEMPLATE='/usr/share/doc/packages/ruby2.0-rubygem-gem2rpm/sles12.spec.erb'
> if [ -e gem2rpm.yml ] ; then
> cfg="--config gem2rpm.yml"
> fi
> exec gem2rpm $cfg -t $TEMPLATE -o *spec *gem
```
#!/bin/sh
if [ -e gem2rpm.yml ] ; then
cfg="--config gem2rpm.yml"
fi
exec gem2rpm $cfg -o *spec *gem
```
darix
--
openSUSE - SUSE Linux is my linux
openSUSE is good for you
www.opensuse.org
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]