[rubygem-pkg-config/f13/master] - 1.0.7

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Oct 6 19:18:56 UTC 2010


commit 1d2b0663d1f697f81714a05eb539aedcc12d98f3
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Thu Oct 7 04:19:02 2010 +0900

    - 1.0.7

 .gitignore                               |    1 +
 pkg-config-1.0.6-skip-failing-test.patch |   20 --------------------
 rubygem-pkg-config.spec                  |   18 ++++++++++++------
 sources                                  |    2 +-
 4 files changed, 14 insertions(+), 27 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2192bdb..d76147f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /pkg-config-1.0.6.gem
+/pkg-config-1.0.7.gem
diff --git a/rubygem-pkg-config.spec b/rubygem-pkg-config.spec
index f8bf74b..6ecb771 100644
--- a/rubygem-pkg-config.spec
+++ b/rubygem-pkg-config.spec
@@ -7,20 +7,18 @@
 
 Summary:	A pkg-config implmenetation by Ruby
 Name:		rubygem-%{gemname}
-Version:	1.0.6
-Release:	2%{?dist}
+Version:	1.0.7
+Release:	1%{?dist}
 Group:		Development/Languages
 License:	LGPLv2+
 URL:		http://github.com/rcairo/pkg-config
 
 Source0:	http://rubygems.org/gems/%{gemname}-%{version}.gem
-# http://github.com/rcairo/pkg-config/issues#issue/1
-Patch0:	pkg-config-1.0.6-skip-failing-test.patch
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygems
 BuildRequires(check):	rubygem(rake)
 # Due to http://rubyforge.org/tracker/index.php?func=detail&aid=28571&group_id=1513&atid=5921
-BuildRequires(check):	rubygem(hoe) >= 2.6.1-3
+BuildRequires(check):	rubygem(hoe) >= 2.6.2-3
 # mkmf.rb seems to require ruby-devel
 BuildRequires(check):	ruby-devel
 BuildRequires(check):	cairo-devel
@@ -54,7 +52,12 @@ gem install \
 	%{SOURCE0}
 
 pushd .%{geminstdir}
-%patch0 -p1
+# Kill failing tests (for newer cairo)
+# http://github.com/rcairo/pkg-config/issues#issue/1
+sed -i \
+	-e '\@^  def test_requires_private$@,\@^  end at s|^\(.*\)$|#\1|' \
+	-e '\@^  def test_cflags$@,\@^  end at s|^\(.*\)$|#\1|' \
+	test/test_pkg_config.rb
 popd
 
 find . -name \*.gem | xargs chmod 0644
@@ -95,6 +98,9 @@ rake test --verbose --trace
 %{gemdir}/doc/%{gemname}-%{version}/
 
 %changelog
+* Thu Oct  7 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.7-1
+- 1.0.7
+
 * Thu Sep 23 2010 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.6-2
 - Add R: rubygems
 
diff --git a/sources b/sources
index ed72733..c0cf27b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-701b408808a0f5eba5b55e73f11acb27  pkg-config-1.0.6.gem
+8d6019688228034ae8dbdfdbc3326440  pkg-config-1.0.7.gem


More information about the scm-commits mailing list