diff --git a/bin/gem2rpm b/bin/gem2rpm index 1298798..3b9a836 100755 --- a/bin/gem2rpm +++ b/bin/gem2rpm @@ -82,8 +82,8 @@ if template_file.nil? f.close f = nil end - if template_file.eql? '"opensuse-tumbleweed"' - $stderr.puts 'Using template opensuse on Tumbleweed' + if template_file.match? '^"opensuse' + $stderr.puts 'Using template opensuse on openSUSE variant' template_file = 'opensuse' end end