[rubygem-atk] 1.2.5
Mamoru Tasaka
mtasaka at fedoraproject.org
Thu Apr 4 06:24:13 UTC 2013
commit f234acac780b55b8464823bef6b07836a7e8fe04
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Thu Apr 4 15:24:07 2013 +0900
1.2.5
.gitignore | 1 +
rubygem-atk.spec | 28 +++++++++++++++++++++++++---
sources | 2 +-
3 files changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0ef68cb..37edc72 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
/atk-1.2.1.gem
/atk-1.2.3.gem
/atk-1.2.4.gem
+/atk-1.2.5.gem
diff --git a/rubygem-atk.spec b/rubygem-atk.spec
index ac3c0df..2619f8a 100644
--- a/rubygem-atk.spec
+++ b/rubygem-atk.spec
@@ -17,12 +17,12 @@
%global gem_name atk
-%global glibminver 1.2.0
+%global glibminver 1.2.5
%global obsoleteevr 0.90.7-1.999
Summary: Ruby binding of ATK-1.0.x
Name: rubygem-%{gem_name}
-Version: 1.2.4
+Version: 1.2.5
Release: 1%{?dist}
Group: Development/Languages
# from README
@@ -43,6 +43,9 @@ BuildRequires: rubygems-devel
BuildRequires: rubygem-glib2-devel >= %{glibminver}
BuildRequires: ruby-devel
BuildRequires: atk-devel
+## %%check
+BuildRequires: rubygem(test-unit)
+BuildRequires: rubygem(test-unit-notify)
Requires: rubygems
Requires: rubygem(glib2) >= %{glibminver}
Provides: rubygem(%{gem_name}) = %{version}
@@ -215,7 +218,22 @@ create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib}
%endif
%check
-# Currently no testsuite is available
+pushd .%{gem_instdir}
+
+# Kill unneeded make process
+mkdir -p TMPBINDIR
+pushd TMPBINDIR
+ln -sf /bin/true make
+export PATH=$(pwd):$PATH
+popd
+%if 0%{?fedora} <= 18
+sed -i.old \
+ -e '\@require "test-unit"@s|^.*$|gem "test-unit"\nrequire "test/unit"\n|' \
+ test/atk-test-utils.rb
+%endif
+
+ruby -Ilib:test ./test/run-test.rb
+popd
%files
%defattr(-,root,root,-)
@@ -254,8 +272,12 @@ create_symlink_rec %{gem_instdir}/lib %{ruby_sitelib}
%defattr(-,root,root,-)
%{gem_docdir}/
%{gem_instdir}/Rakefile
+%exclude %{gem_instdir}/test/
%changelog
+* Thu Apr 4 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.2.5-1
+- 1.2.5
+
* Tue Mar 26 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.2.4-1
- 1.2.4
diff --git a/sources b/sources
index 4786100..0a61557 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-38765951755aa34ab88ec652b66a44b9 atk-1.2.4.gem
+61ba5b960100d62191e6e55211c35bef atk-1.2.5.gem
More information about the scm-commits
mailing list