Patch65: %{name}-parseSpec-skip-empty-tags.patch
Patch66: %{name}-payload-use-hashed-inode.patch
Patch67: rpm-repackage-dont-force-max-compression.patch
+Patch68: rubyprov-archdirs.patch
# Patches imported from Mandriva
%patch1040 -p1
%patch1041 -p1
%patch1042 -p1
+%patch68 -p1
install %{SOURCE2} macros/pld.in
install %{SOURCE8} scripts/php.prov.in
--- /dev/null
+--- rpm-5.4.10/scripts/rubygems.rb~ 2013-04-26 00:28:59.955288629 +0300
++++ rpm-5.4.10/scripts/rubygems.rb 2013-04-26 00:43:35.122569376 +0300
+@@ -51,10 +51,16 @@
+ elsif not ruby_versioned
+ if path.match(RbConfig::CONFIG["rubylibdir"])
+ ruby_versioned = true
++ elsif path.match(RbConfig::CONFIG["archdir"])
++ ruby_versioned = true
+ elsif path.match(RbConfig::CONFIG["sitelibdir"])
+ ruby_versioned = true
++ elsif path.match(RbConfig::CONFIG["sitearchdir"])
++ ruby_versioned = true
+ elsif path.match(RbConfig::CONFIG["vendorlibdir"])
+ ruby_versioned = true
++ elsif path.match(RbConfig::CONFIG["vendorarchdir"])
++ ruby_versioned = true
+ end
+ end
+ end