forked from pool/rubygem-gem2rpm
a5edb94472
- added binary_map.patch: add way to avoid conflicts with non rubygems packages in /usr/bin - added template_loader.patch (boo#1092585) OBS-URL: https://build.opensuse.org/request/show/617125 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=28
15 lines
344 B
Diff
15 lines
344 B
Diff
diff --git a/bin/gem2rpm b/bin/gem2rpm
|
|
old mode 100755
|
|
new mode 100644
|
|
index 45ed21c..c613c12
|
|
--- a/bin/gem2rpm
|
|
+++ b/bin/gem2rpm
|
|
@@ -73,6 +73,7 @@ opts.separator("")
|
|
rest = opts.permute(ARGV)
|
|
|
|
template = nil
|
|
+template_file ||= 'opensuse'
|
|
if template_file.nil?
|
|
f = open("/etc/os-release", "r") if File.exists?("/etc/os-release")
|
|
if f
|