summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillermo Gomez S. (Gomix) <guillermo.gomez@gmail.com>2012-03-24 06:15:08 -0430
committerGuillermo Gomez S. (Gomix) <guillermo.gomez@gmail.com>2012-03-24 06:15:08 -0430
commitd77aaea681a86c2f2b3c5a2fa2a73e3e446c8ec8 (patch)
tree5a43da3b7b5b68ade9b7d63ac7418c2b537afd0a
parentbafcb679435f7369a89b290d3ef0512c6278f9d2 (diff)
downloadrubygem-kgio-d77aaea681a86c2f2b3c5a2fa2a73e3e446c8ec8.tar.gz
rubygem-kgio-d77aaea681a86c2f2b3c5a2fa2a73e3e446c8ec8.tar.xz
rubygem-kgio-d77aaea681a86c2f2b3c5a2fa2a73e3e446c8ec8.zip
Updated version 2.7.3
-rw-r--r--.gitignore1
-rw-r--r--no_ruby_strace_test_autopush.patch10
-rw-r--r--rubygem-kgio.spec17
-rw-r--r--sources2
4 files changed, 9 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index 2591bf8..9707701 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/kgio-2.7.0.gem
+/kgio-2.7.3.gem
diff --git a/no_ruby_strace_test_autopush.patch b/no_ruby_strace_test_autopush.patch
deleted file mode 100644
index a813002..0000000
--- a/no_ruby_strace_test_autopush.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- test_autopush.rb.orig 2011-12-31 15:07:45.024640402 -0430
-+++ test_autopush.rb 2011-12-31 15:07:54.080372110 -0430
-@@ -1,6 +1,6 @@
- require 'tempfile'
- require 'test/unit'
--RUBY_PLATFORM =~ /linux/ and require 'strace'
-+#RUBY_PLATFORM =~ /linux/ and require 'strace'
- $-w = true
- require 'kgio'
-
diff --git a/rubygem-kgio.spec b/rubygem-kgio.spec
index 134c158..8b75e72 100644
--- a/rubygem-kgio.spec
+++ b/rubygem-kgio.spec
@@ -4,16 +4,14 @@
Summary: Kinder, gentler I/O for Ruby
Name: rubygem-%{gem_name}
-Version: 2.7.0
-Release: 5%{?dist}
+Version: 2.7.3
+Release: 1%{?dist}
Group: Development/Tools
License: LGPLv2 or LGPLv3
# LICENSE file defines the licencing aspects of kgiox.
# No license info in source files.
URL: http://bogomips.org/kgio
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
-# Simple patch file to fix automated test file
-Source1: no_ruby_strace_test_autopush.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ruby
Requires: ruby(abi) = %{rubyabi}
@@ -64,9 +62,7 @@ chmod a+r .%{gem_instdir}/NEWS
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gem_dir}
mkdir -p %{buildroot}%{gem_extdir}/lib
-cp -a .%{gem_dir}/* \
- %{buildroot}%{gem_dir}/
-patch %{buildroot}%{gem_instdir}/test/test_autopush.rb %{SOURCE1}
+cp -a .%{gem_dir}/* %{buildroot}%{gem_dir}/
# Remove the binary extension sources and build leftovers.
rm -f %{buildroot}%{gem_instdir}/.document
@@ -86,9 +82,8 @@ install -d -m0755 %{buildroot}%{gem_extdir}
mv %{buildroot}%{gem_instdir}/lib/kgio_ext.so %{buildroot}%{gem_extdir}/lib/
%check
-# Patch test_autopush.rb
cd %{buildroot}%{gem_instdir}
-RUBYOPT="-Ilib -I%{buildroot}%{ruby_sitearch} -Itest" testrb test/test_*
+RUBYOPT="-Ilib -I%{buildroot}%{gem_extdir}/lib -Itest" testrb test/test_*
%clean
rm -rf %{buildroot}
@@ -104,7 +99,6 @@ rm -rf %{buildroot}
%files
%{gem_extdir}
-%dir %{gem_instdir}
%dir %{gem_instdir}/lib
%doc %{gem_instdir}/LICENSE
%doc %{gem_instdir}/COPYING
@@ -116,6 +110,9 @@ rm -rf %{buildroot}
%{gem_instdir}/lib/kgio.rb
%changelog
+* Fri Mar 23 2012 Guillermo Gómez <guillermo.gomez@gmail.com> - 2.7.3-1
+- Update version 2.7.3
+
* Sun Feb 12 2012 Guillermo Gómez <guillermo.gomez@gmail.com> - 2.7.0-5
- Proper use of new macros for Ruby 1.9 packaging
- irb added as build require
diff --git a/sources b/sources
index 4207548..3940deb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a75bcff4cc3fab89baf9c3b4d3aaddcb kgio-2.7.0.gem
+409c3c023b429248837035f08c1bef9c kgio-2.7.3.gem