+++ /dev/null
---- rpm-5.4.10/scripts/gem_helper.rb 2013-06-21 09:45:34.619165559 +0300
-+++ rpm-5.4.14/scripts/gem_helper.rb 2013-12-21 19:05:33.801507110 +0200
-@@ -6,8 +6,9 @@
- #++
-
- require 'optparse'
-+require 'rubygems'
-
--if ARGV[0] == "build" or ARGV[0] == "install"
-+if ARGV[0] == "build" or ARGV[0] == "install" or ARGV[0] == "spec"
- require 'yaml'
- require 'zlib'
-
-@@ -65,9 +66,18 @@
- body[iv.to_s.gsub(/^@/,'')] = header.instance_variable_get(iv)
- end
-
-- require 'rubygems'
- spec = Gem::Specification.from_yaml(YAML.dump(header))
-
-+ if ARGV[0] == "spec"
-+ # Write the .gemspec specification (in Ruby)
-+ file_name = spec.full_name.untaint + '.gemspec'
-+ File.open(file_name, "w") do |file|
-+ file.puts spec.to_ruby_for_cache
-+ end
-+ print "Wrote: %s\n" % file_name
-+ exit(0)
-+ end
-+
- if ARGV[0] == "install"
- system("gem %s %s.gem" % [ARGV.join(' '), spec.full_name])
- if !keepcache
#++
require 'optparse'
+require 'rubygems'
-if ARGV[0] == "build" or ARGV[0] == "install"
+if ARGV[0] == "build" or ARGV[0] == "install" or ARGV[0] == "spec"
require 'yaml'
require 'zlib'
file_data.close()
body = header.instance_variable_get :@ivars
- require 'rubygems'
spec = Gem::Specification.from_yaml(YAML.dump(header))
+ if ARGV[0] == "spec"
+ # Write the .gemspec specification (in Ruby)
+ file_name = spec.full_name.untaint + '.gemspec'
+ File.open(file_name, "w") do |file|
+ file.puts spec.to_ruby_for_cache
+ end
+ print "Wrote: %s\n" % file_name
+ exit(0)
+ end
+
if ARGV[0] == "install"
system("gem %s %s.gem" % [ARGV.join(' '), spec.full_name])
if !keepcache
Patch70: python-%{name}sense-missingok.patch
Patch71: %{name}-changelog-encoding.patch
Patch72: %{name}-preserve-tag-type.patch
-Patch73: gem_helper-spec-arg.patch
Patch74: %{name}-fix-internal-lua-build.patch
Patch75: %{name}-double_check_file_deps.patch
Patch77: %{name}-lua-expat.patch
%patch70 -p1
%patch71 -p1
%patch72 -p1
-%patch73 -p1
%patch74 -p1
%patch75 -p1
%patch77 -p0