[packages/gem2rpm] up to 0.10.1
glen
glen at pld-linux.org
Mon Dec 15 14:38:51 CET 2014
commit b59b10ce560d2577f28c25e9f8711353f959e870
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 15 15:38:30 2014 +0200
up to 0.10.1
no changes to code, only templates, which none are pld
gem2rpm.spec | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/gem2rpm.spec b/gem2rpm.spec
index e3904c8..04468ec 100644
--- a/gem2rpm.spec
+++ b/gem2rpm.spec
@@ -4,12 +4,12 @@
Summary: Generate rpm specfiles from gems
Name: gem2rpm
-Version: 0.9.2
-Release: 3
+Version: 0.10.1
+Release: 1
License: GPL v2+
Group: Development/Languages
-Source0: https://github.com/lutter/gem2rpm/archive/v%{version}.tar.gz
-# Source0-md5: 133c4cae2e26c24a5db0453e2cbe2a72
+Source0: https://github.com/lutter/gem2rpm/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: a22be828b4aeff0387a735daae969c5c
Source2: pld.spec.erb
Patch0: gems.patch
Patch1: pld.patch
@@ -41,12 +41,14 @@ Documentation for %{name}.
%prep
%setup -q
+%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp -p %{SOURCE2} templates
-%{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
%build
%if %{with tests}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gem2rpm.git/commitdiff/b59b10ce560d2577f28c25e9f8711353f959e870
More information about the pld-cvs-commit
mailing list