[rubygem-pkg-config] 1.1.2

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Jul 16 16:36:22 UTC 2011


commit aaf2c98abd24c20ec44e1e912b395a8e79527822
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Jul 17 01:36:10 2011 +0900

    1.1.2

 .gitignore              |    1 +
 rubygem-pkg-config.spec |   19 +++++++++++++------
 sources                 |    2 +-
 3 files changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d76147f..701a000 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 /pkg-config-1.0.6.gem
 /pkg-config-1.0.7.gem
+/pkg-config-1.1.2.gem
diff --git a/rubygem-pkg-config.spec b/rubygem-pkg-config.spec
index f67b6b1..c2eff45 100644
--- a/rubygem-pkg-config.spec
+++ b/rubygem-pkg-config.spec
@@ -5,10 +5,10 @@
 
 %global	rubyabi	1.8
 
-Summary:	A pkg-config implmenetation by Ruby
+Summary:	A pkg-config implementation by Ruby
 Name:		rubygem-%{gemname}
-Version:	1.0.7
-Release:	2%{?dist}
+Version:	1.1.2
+Release:	1%{?dist}
 Group:		Development/Languages
 License:	LGPLv2+
 URL:		http://github.com/rcairo/pkg-config
@@ -17,8 +17,8 @@ Source0:	http://rubygems.org/gems/%{gemname}-%{version}.gem
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygems
 # For %%check
-BuildRequires:	rubygem(rake)
-BuildRequires:	rubygem(hoe)
+#BuildRequires:	rubygem(rake)
+#BuildRequires:	rubygem(hoe)
 # mkmf.rb requires ruby-devel
 BuildRequires:	ruby-devel
 BuildRequires:	cairo-devel
@@ -54,10 +54,12 @@ gem install \
 pushd .%{geminstdir}
 # Kill failing tests (for newer cairo)
 # http://github.com/rcairo/pkg-config/issues#issue/1
+%if 0
 sed -i \
 	-e '\@^  def test_requires_private$@,\@^  end at s|^\(.*\)$|#\1|' \
 	-e '\@^  def test_cflags$@,\@^  end at s|^\(.*\)$|#\1|' \
 	test/test_pkg_config.rb
+%endif
 popd
 
 find . -name \*.gem | xargs chmod 0644
@@ -80,13 +82,15 @@ rm -rf %{buildroot}
 
 %check
 pushd .%{geminstdir}
-rake test --verbose --trace
+#rake test --verbose --trace
+ruby -Ilib -rubygems test/run-test.rb
 
 %files
 %defattr(-, root, root, -)
 %dir	%{geminstdir}
 %doc	%{geminstdir}/[A-Z]*
 %exclude	%{geminstdir}/Rakefile
+%exclude	%{geminstdir}/setup.rb
 %{geminstdir}/lib/
 
 %{gemdir}/cache/%{gemname}-%{version}.gem
@@ -98,6 +102,9 @@ rake test --verbose --trace
 %{gemdir}/doc/%{gemname}-%{version}/
 
 %changelog
+* Sun Jul 17 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.1.2-1
+- 1.1.2
+
 * Mon Feb 14 2011 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 1.0.7-2
 - F-15 mass rebuild
 
diff --git a/sources b/sources
index c0cf27b..b51ec37 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8d6019688228034ae8dbdfdbc3326440  pkg-config-1.0.7.gem
+4e1b79ba21db9058e72ff797b498bfda  pkg-config-1.1.2.gem


More information about the scm-commits mailing list