Hello community,

here is the log from the commit of package rubygem-pkg-config for 
openSUSE:Factory checked in at 2017-05-27 13:11:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-pkg-config (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-pkg-config.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-pkg-config"

Sat May 27 13:11:48 2017 rev:11 rq:497710 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-pkg-config/rubygem-pkg-config.changes    
2016-03-01 09:40:34.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-pkg-config.new/rubygem-pkg-config.changes   
    2017-05-27 13:11:50.790799492 +0200
@@ -1,0 +2,24 @@
+Tue May 23 10:10:15 UTC 2017 - [email protected]
+
+- updated to version 1.2.0
+ see installed NEWS
+
+  == 1.2.0 - 2017-04-25
+  
+  === Improvements
+  
+    * Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
+  
+  === Thanks
+  
+    * Elan Ruusamäe
+  
+  == 1.1.9 - 2017-04-20
+  
+    * Supported C++ compiler.
+  
+  == 1.1.8 - 2017-04-19
+  
+    * Stopped to require mkmf.
+
+-------------------------------------------------------------------

Old:
----
  pkg-config-1.1.7.gem

New:
----
  pkg-config-1.2.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-pkg-config.spec ++++++
--- /var/tmp/diff_new_pack.gvdsjr/_old  2017-05-27 13:11:51.342721460 +0200
+++ /var/tmp/diff_new_pack.gvdsjr/_new  2017-05-27 13:11:51.346720895 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-pkg-config
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-pkg-config
-Version:        1.1.7
+Version:        1.2.0
 Release:        0
 %define mod_name pkg-config
 %define mod_full_name %{mod_name}-%{version}

++++++ pkg-config-1.1.7.gem -> pkg-config-1.2.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NEWS new/NEWS
--- old/NEWS    2016-01-06 06:10:37.000000000 +0100
+++ new/NEWS    2017-04-25 01:54:58.000000000 +0200
@@ -1,5 +1,23 @@
 = NEWS
 
+== 1.2.0 - 2017-04-25
+
+=== Improvements
+
+  * Supported x32 environment. [GitHub#12][Reported by Elan Ruusamäe]
+
+=== Thanks
+
+  * Elan Ruusamäe
+
+== 1.1.9 - 2017-04-20
+
+  * Supported C++ compiler.
+
+== 1.1.8 - 2017-04-19
+
+  * Stopped to require mkmf.
+
 == 1.1.7 - 2015-01-16
 
   * Added path for FreeBSD to default paths.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/pkg-config/version.rb 
new/lib/pkg-config/version.rb
--- old/lib/pkg-config/version.rb       2016-01-06 06:10:37.000000000 +0100
+++ new/lib/pkg-config/version.rb       2017-04-25 01:54:58.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright 2012-2013 Kouhei Sutou <[email protected]>
+# Copyright 2012-2017 Kouhei Sutou <[email protected]>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -15,5 +15,5 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  
USA
 
 module PKGConfig
-  VERSION = "1.1.7"
+  VERSION = "1.2.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/pkg-config.rb new/lib/pkg-config.rb
--- old/lib/pkg-config.rb       2016-01-06 06:10:37.000000000 +0100
+++ new/lib/pkg-config.rb       2017-04-25 01:54:58.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright 2008-2016 Kouhei Sutou <[email protected]>
+# Copyright 2008-2017 Kouhei Sutou <[email protected]>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -21,7 +21,6 @@
 
 require "rbconfig"
 
-require 'mkmf'
 require 'shellwords'
 require 'English'
 require 'pathname'
@@ -46,6 +45,14 @@
     end
 
     private
+    def with_config(config, default=nil)
+      if defined?(super)
+        super
+      else
+        default
+      end
+    end
+
     def guess_native_pkg_config
       pkg_config = with_config("pkg-config", ENV["PKG_CONFIG"] || "pkg-config")
       pkg_config = Pathname.new(pkg_config)
@@ -143,6 +150,10 @@
     collect_cflags[0].join(" ")
   end
 
+  def cflags_only_other
+    collect_cflags[1].join(" ")
+  end
+
   def libs
     path_flags, other_flags = collect_libs
     (path_flags + other_flags).join(" ")
@@ -243,7 +254,7 @@
     all_libs = all_libs.join(" ").gsub(/-([Ll]) /, '\1').split.uniq
     path_flags, other_flags = all_libs.partition {|flag| /\A-L/ =~ flag}
     path_flags = path_flags.reject do |flag|
-      /\A-L\/usr\/lib(?:64)?\z/ =~ flag
+      /\A-L\/usr\/lib(?:64|x32)?\z/ =~ flag
     end
     if @msvc_syntax
       path_flags = path_flags.collect do |flag|
@@ -305,11 +316,13 @@
     arch_depended_path = Dir.glob('/usr/lib/*/pkgconfig').join(SEPARATOR)
     default_paths = [
       "/usr/local/lib64/pkgconfig",
+      "/usr/local/libx32/pkgconfig",
       "/usr/local/lib/pkgconfig",
       "/usr/local/libdata/pkgconfig",
       "/opt/local/lib/pkgconfig",
       arch_depended_path,
       "/usr/lib64/pkgconfig",
+      "/usr/libx32/pkgconfig",
       "/usr/lib/pkgconfig",
       "/usr/libdata/pkgconfig",
       "/usr/X11/lib/pkgconfig",
@@ -327,6 +340,7 @@
       Dir.glob((pkg_config_prefix + "lib/*/pkgconfig").to_s).join(SEPARATOR)
     [pkg_config_arch_depended_path,
      (pkg_config_prefix + "lib64/pkgconfig").to_s,
+     (pkg_config_prefix + "libx32/pkgconfig").to_s,
      (pkg_config_prefix + "lib/pkgconfig").to_s,
      (pkg_config_prefix + "libdata/pkgconfig").to_s,
      default_path].join(SEPARATOR)
@@ -399,6 +413,10 @@
     package_config(pkg).cflags_only_I
   end
 
+  def cflags_only_other(pkg)
+    package_config(pkg).cflags_only_other
+  end
+
   def modversion(pkg)
     package_config(pkg).version
   end
@@ -443,7 +461,9 @@
       else
         $LDFLAGS += ' ' + dldflags
       end
-      $CFLAGS += ' ' + cflags(pkg)
+      $CFLAGS += ' ' + cflags_only_other(pkg)
+      $CXXFLAGS += ' ' + cflags_only_other(pkg)
+      $INCFLAGS += ' ' + cflags_only_I(pkg)
     end
     enough_version
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2016-01-06 06:10:37.000000000 +0100
+++ new/metadata        2017-04-25 01:54:58.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: pkg-config
 version: !ruby/object:Gem::Version
-  version: 1.1.7
+  version: 1.2.0
 platform: ruby
 authors:
 - Kouhei Sutou
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-01-06 00:00:00.000000000 Z
+date: 2017-04-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: test-unit
@@ -89,11 +89,10 @@
       version: '0'
 requirements: []
 rubyforge_project: cairo
-rubygems_version: 2.4.5.1
+rubygems_version: 2.5.2
 signing_key: 
 specification_version: 4
 summary: A pkg-config implementation for Ruby
 test_files:
 - test/run-test.rb
 - test/test_pkg_config.rb
-has_rdoc: 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/test_pkg_config.rb new/test/test_pkg_config.rb
--- old/test/test_pkg_config.rb 2016-01-06 06:10:37.000000000 +0100
+++ new/test/test_pkg_config.rb 2017-04-25 01:54:58.000000000 +0200
@@ -1,4 +1,5 @@
-require 'pkg-config'
+require "mkmf"
+require "pkg-config"
 
 class PkgConfigTest < Test::Unit::TestCase
   def setup


Reply via email to