[rubygem-thin/f14] Updated patch for 1.2.11

Michal Fojtik mfojtik at fedoraproject.org
Thu Jul 14 16:57:44 UTC 2011


commit eacb3466e9093f6ee660bd4774563db0b627f34a
Author: Michal Fojtik <mi at mifo.sk>
Date:   Thu Jul 14 18:56:16 2011 +0200

    Updated patch for 1.2.11

 .gitignore        |    1 +
 rubygem-thin.spec |   11 ++++++++---
 sources           |    2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7e1abdd..9895677 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ thin-1.2.5.gem
 /fix_thin_parser_loading.patch
 /fix_thin_parser_loading_2.patch
 /native-load-path-1.2.8.patch
+/native-load-path-1.2.11.patch
diff --git a/rubygem-thin.spec b/rubygem-thin.spec
index 5665416..99ee8bf 100644
--- a/rubygem-thin.spec
+++ b/rubygem-thin.spec
@@ -8,12 +8,12 @@
 Summary: A thin and fast web server
 Name: rubygem-%{gemname}
 Version: 1.2.11
-Release: 7%{?dist}
+Release: 8%{?dist}
 Group: Development/Languages
 License: (GPLv2 or Ruby) and BSD and MIT
 URL: http://code.macournoyer.com/thin/
 Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
-Patch0: native-load-path-1.2.8.patch
+Patch0: native-load-path-1.2.11.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: ruby(abi) = %{rubyabi} 
 Requires: rubygems
@@ -58,7 +58,9 @@ gem install \
 	--install-dir ./%{gemdir} \
 	-V --force \
 	%{SOURCE0}
-%patch0 -p0
+pushd ./%{geminstdir}/lib
+%patch0
+popd
 
 %build
 
@@ -153,6 +155,9 @@ rm -rf %{buildroot}
 
 %changelog
 * Thu Jul 14 2011 Michal Fojtik <mfojtik at redhat.com> - 1.2.11-7
+- Updated to patch for version 1.2.11
+
+* Thu Jul 14 2011 Michal Fojtik <mfojtik at redhat.com> - 1.2.11-7
 - Fixed typo in prep section
 
 * Thu Jul 14 2011 Michal Fojtik <mfojtik at redhat.com> - 1.2.11-6
diff --git a/sources b/sources
index 9c5b183..70665e5 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
 9040330417adda974c07006762b537f2  thin-1.2.11.gem
-c79abc50ae40cb8fc7665b24b6b15dea  native-load-path-1.2.8.patch
+ef41f462c1833c80c6da898248554ce5  native-load-path-1.2.11.patch


More information about the scm-commits mailing list