mtasaka pushed to rubygem-gobject-introspection (f22). "2.2.5"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 06:42:41 UTC 2015


>From afef341c82a8332da2bccafd75d33ae0ae75f6d1 Mon Sep 17 00:00:00 2001
From: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date: Wed, 29 Apr 2015 15:35:10 +0900
Subject: 2.2.5


diff --git a/.gitignore b/.gitignore
index 596ee85..bb764db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
 /gobject-introspection-2.2.0.gem
 /gobject-introspection-2.2.3.gem
 /gobject-introspection-2.2.4.gem
+/gobject-introspection-2.2.5.gem
diff --git a/rubygem-gobject-introspection-2.2.0-clutter-test-fix.patch b/rubygem-gobject-introspection-2.2.0-clutter-test-fix.patch
deleted file mode 100644
index f21e1e4..0000000
--- a/rubygem-gobject-introspection-2.2.0-clutter-test-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 536e231e143534668c0b4d0c30ddae6e323e1edf Mon Sep 17 00:00:00 2001
-From: Kouhei Sutou <kou at clear-code.com>
-Date: Sun, 23 Nov 2014 15:35:34 +0900
-Subject: [PATCH] gi: fix a bug that out only argument is required
-
-Out only argument should be allocated automatically.
-
-GitHub: fixes #268
-
-Reported by mtasaka. Thanks!!!
----
- gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c b/gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c
-index 1843de1..7225976 100644
---- a/gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c
-+++ b/gobject-introspection/ext/gobject-introspection/rb-gi-function-info.c
-@@ -232,6 +232,10 @@ fill_metadata_rb_arg_index(GPtrArray *args_metadata)
-             continue;
-         }
- 
-+        if (metadata->in_arg_index == -1) {
-+            continue;
-+        }
-+
-         metadata->rb_arg_index = rb_arg_index;
-         rb_arg_index++;
-     }
diff --git a/rubygem-gobject-introspection-2.2.5-intospe224-test.patch b/rubygem-gobject-introspection-2.2.5-intospe224-test.patch
new file mode 100644
index 0000000..bed1464
--- /dev/null
+++ b/rubygem-gobject-introspection-2.2.5-intospe224-test.patch
@@ -0,0 +1,11 @@
+--- test/test-repository.rb.introspe224	2015-04-24 22:13:53.000000000 +0900
++++ test/test-repository.rb	2015-04-29 14:36:42.040411400 +0900
+@@ -34,7 +34,7 @@
+ 
+   def test_get_dependencies
+     require_version(1, 36, 0)
+-    assert_equal(["GObject-2.0"].sort,
++    assert_equal(["GLib-2.0", "GObject-2.0"].sort,
+                  @repository.get_dependencies("Gio").sort)
+   end
+ 
diff --git a/rubygem-gobject-introspection.spec b/rubygem-gobject-introspection.spec
index 19b7a6d..632d008 100644
--- a/rubygem-gobject-introspection.spec
+++ b/rubygem-gobject-introspection.spec
@@ -3,18 +3,20 @@
 %global	gem_name	gobject-introspection
 %global	gem_so_name	gobject_introspection
 
-%global	glib_min_ver	2.2.4
+%global	glib_min_ver	2.2.5
 
 Summary:	Ruby binding of GObjectIntrospection
 Name:		rubygem-%{gem_name}
-Version:	2.2.4
-Release:	2%{?dist}
+Version:	2.2.5
+Release:	1%{?dist}
 
 Group:		Development/Languages
 # lib/gobject-introspection.rb and so on
 License:	LGPLv2+
 URL:		http://ruby-gnome2.sourceforge.jp/
 Source0:	http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Need discussion with upstream
+Patch0:	rubygem-gobject-introspection-2.2.5-intospe224-test.patch
 
 Requires:	ruby(release)
 BuildRequires:	ruby(release)
@@ -64,13 +66,14 @@ gem unpack %{SOURCE0}
 cd %{gem_name}-%{version}
 
 # Patches
+%patch0 -p0
 
 # Permission
 find . -name \*.rb -print0 | xargs --null chmod 0644
 
 gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
 # Allow ruby-gnome2 no less than ones
-sed -i -e 's|= 2\.2\.4|>= 2.2.4|' %{gem_name}.gemspec
+sed -i -e 's|= 2\.2\.5|>= 2.2.5|' %{gem_name}.gemspec
 
 gem build %{gem_name}.gemspec
 mv %{gem_name}-%{version}.gem $TOPDIR
@@ -147,6 +150,9 @@ popd
 %exclude	%{gem_instdir}/test/
 
 %changelog
+* Wed Apr 29 2015 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.2.5-1
+- 2.2.5
+
 * Thu Jan 15 2015 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.2.4-2
 - F-22: Rebuild for ruby 2.2
 
diff --git a/sources b/sources
index 379eca1..06d9527 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5683097b6e07b2ce7e83b5167628b975  gobject-introspection-2.2.4.gem
+9fa1b4b0746028ae5f27bd694497b10f  gobject-introspection-2.2.5.gem
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/rubygem-gobject-introspection.git/commit/?h=f22&id=afef341c82a8332da2bccafd75d33ae0ae75f6d1


More information about the scm-commits mailing list