autobuild 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ == Version 1.5.3
2
+ * quickfix for RUBYLIB on OSes that install libraries in usr/lib32 or usr/lib64
3
+ instead of usr/lib
4
+
1
5
  == Version 1.5.2
2
6
  * fix broken mail reporting. The mail report was always saved in a file since
3
7
  1.5.1.
@@ -1,5 +1,5 @@
1
1
  module Autobuild
2
- VERSION = "1.5.2" unless defined? Autobuild::VERSION
2
+ VERSION = "1.5.3" unless defined? Autobuild::VERSION
3
3
  end
4
4
 
5
5
  require 'autobuild/config'
@@ -86,7 +86,7 @@ module Autobuild
86
86
  ruby_arch = File.basename(Config::CONFIG['archdir'])
87
87
  candidates = %w{rubylibdir archdir sitelibdir sitearchdir vendorlibdir vendorarchdir}.
88
88
  map { |key| Config::CONFIG[key] }.
89
- map { |path| path.gsub(/.*lib\/(\w*ruby\/)/, '\\1') }.
89
+ map { |path| path.gsub(/.*lib(?:32|64)?\/(\w*ruby\/)/, '\\1') }.
90
90
  each { |subdir| env_add_path("RUBYLIB", "#{newprefix}/lib/#{subdir}") }
91
91
  end
92
92
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autobuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvain Joyeux