openSUSE / gem2rpm

Generate an rpm from a rubygem (git mirror of svn://rubyforge.org/var/svn/gem2rpm)
http://rubyforge.org/projects/gem2rpm/
Other
3 stars 7 forks source link

version_suffix is set wrong if not quoted in gem2rpm.yml #11

Closed johanneskastl closed 6 years ago

johanneskastl commented 6 years ago

If the version_suffix is set in gem2rpm.yml like this: :version_suffix: -1_2 ...and the spec file is created with "gem2rpm --config gem2rpm.yml ...", then the suffix is wrong.

https://build.opensuse.org/request/show/537785 This is what happens, when the suffix is not quoted first, then gets quoted and the spec is recreated.

To avoid wrong package names, quote the version_suffix in gem2rpm.yml.documentation. https://github.com/openSUSE/gem2rpm/pull/10

Tested on Leap 42.2 with ruby2.1-rubygem-gem2rpm-0.10.1-5.3.1.x86_64.

Kind Regards, Johannes

johanneskastl commented 6 years ago

coolo merged 1 commit into openSUSE:master from johanneskastl:master on 10 Nov 2017