[packages/gem2rpm] load rubygems

glen glen at pld-linux.org
Wed Apr 24 09:28:51 CEST 2013


commit f51775da95153bdc335991f886388c3a4917fafe
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 14 16:01:26 2013 +0300

    load rubygems

 gem2rpm.spec | 4 +++-
 gems.patch   | 9 +++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/gem2rpm.spec b/gem2rpm.spec
index aebd6ec..dc374cc 100644
--- a/gem2rpm.spec
+++ b/gem2rpm.spec
@@ -1,7 +1,7 @@
 Summary:	Generate rpm specfiles from gems
 Name:		gem2rpm
 Version:	0.8.1
-Release:	0.2
+Release:	0.3
 License:	GPL v2+
 Group:		Development/Languages
 Source0:	http://rubygems.org/gems/%{name}-%{version}.gem
@@ -10,6 +10,7 @@ Source0:	http://rubygems.org/gems/%{name}-%{version}.gem
 # tar czvf gem2rpm-0.8.1-tests.tgz test/
 Source1:	%{name}-%{version}-tests.tgz
 # Source1-md5:	d7d8bc231dc405bbce00f570c89f530e
+Patch0:		gems.patch
 URL:		https://github.com/lutter/gem2rpm/
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
@@ -32,6 +33,7 @@ Documentation for %{name}.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %if %{with tests}
diff --git a/gems.patch b/gems.patch
new file mode 100644
index 0000000..206fced
--- /dev/null
+++ b/gems.patch
@@ -0,0 +1,9 @@
+--- gem2rpm-0.8.1/lib/gem2rpm.rb~	2013-04-14 16:00:00.000000000 +0300
++++ gem2rpm-0.8.1/lib/gem2rpm.rb	2013-04-14 16:00:28.916832649 +0300
+@@ -1,5 +1,6 @@
+ require 'erb'
+ require 'socket'
++require 'rubygems'
+ require 'rubygems/format'
+ require 'gem2rpm/distro'
+ require 'gem2rpm/specification'
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gem2rpm.git/commitdiff/f51775da95153bdc335991f886388c3a4917fafe



More information about the pld-cvs-commit mailing list