[rubygem-kgio/f17] First try to update to update to 0.7.3

Guillermo Gómez gomix at fedoraproject.org
Fri Mar 23 21:29:41 UTC 2012


commit 810037b18400795455d41f38b33124ca19ffaf51
Author: Guillermo Gomez S. (Gomix) <guillermo.gomez at gmail.com>
Date:   Fri Mar 23 16:59:25 2012 -0430

    First try to update to update to 0.7.3

 .gitignore                         |    1 +
 no_ruby_strace_test_autopush.patch |   10 ----------
 rubygem-kgio.spec                  |   30 +++++++++++-------------------
 sources                            |    2 +-
 4 files changed, 13 insertions(+), 30 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/rubygem-kgio.spec b/rubygem-kgio.spec
index 134c158..48a2d79 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}
@@ -23,8 +21,6 @@ BuildRequires: ruby(abi) = %{rubyabi}
 BuildRequires: ruby(rubygems) 
 BuildRequires: ruby-devel
 BuildRequires: ruby-irb
-BuildRequires: rubygems-devel
-BuildRequires: rubygem(minitest)
 Provides:      rubygem(%{gem_name}) = %{version}
 ExcludeArch:   ppc ppc64
 
@@ -44,29 +40,23 @@ Documentation for %{name}
 
 %prep
 %setup -q -c -T
+
+%build
 mkdir -p .%{gem_dir}
 export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
-gem install \
-	-V \
-	--local \
-        --install-dir .%{gem_dir} \
-	--force \
-	--rdoc \
-	%{SOURCE0}
+gem install --local --install-dir .%{gem_dir} \
+            -V \
+            --force %{SOURCE0}
 
 # Adjusting minor permissions
 chmod a+r .%{gem_instdir}/ChangeLog
 chmod a+r .%{gem_instdir}/NEWS
 
-%build
-
 %install
 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}
 
 # Remove the binary extension sources and build leftovers.
 rm -f %{buildroot}%{gem_instdir}/.document
@@ -82,11 +72,10 @@ rm -f %{buildroot}/%{gem_instdir}/GIT-VERSION-GEN
 rm -rf %{buildroot}%{gem_instdir}/.yardoc
 rm -rf %{buildroot}%{gem_instdir}/ext
 
-install -d -m0755 %{buildroot}%{gem_extdir}
+install -d -m0755 %{buildroot}%{ruby_sitearch}
 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_*
 
@@ -116,6 +105,9 @@ rm -rf %{buildroot}
 %{gem_instdir}/lib/kgio.rb
 
 %changelog
+* Fri Mar 23 2012 Guillermo Gómez <guillermo.gomez at gmail.com> - 2.7.3-1
+- Update version 2.7.3
+
 * Sun Feb 12 2012 Guillermo Gómez <guillermo.gomez at 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


More information about the scm-commits mailing list