[packages/ruby-diff-lcs] recover rubygems patch from ab2c93a

glen glen at pld-linux.org
Sun May 5 19:53:25 CEST 2013


commit 2d777820e102e4b7a370b434c99921c43b7205c5
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun May 5 20:53:11 2013 +0300

    recover rubygems patch from ab2c93a

 ruby-diff-lcs.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ruby-diff-lcs.spec b/ruby-diff-lcs.spec
index 6ffe40a..d1be502 100644
--- a/ruby-diff-lcs.spec
+++ b/ruby-diff-lcs.spec
@@ -4,7 +4,7 @@ Summary(pl.UTF-8):	Port Algorithm::Diff dla języka Ruby
 Name:		ruby-%{pkgname}
 Version:	1.1.2
 Release:	3
-License:	GPL
+License:	GPL v2+ or Ruby or Artistic
 Group:		Development/Libraries
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
 # Source0-md5:	60524d29b37f76d56ce835323e324879
@@ -84,11 +84,14 @@ Narzędzie Ruby Diff.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
+%patch0 -p1
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 
 iconv -flatin1 -tutf8 lib/diff/lcs/ldiff.rb > tmp
 mv tmp lib/diff/lcs/ldiff.rb
 
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %build
 # docs need UTF-8 locale
 export LC_ALL=en_US.UTF-8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-diff-lcs.git/commitdiff/2d777820e102e4b7a370b434c99921c43b7205c5



More information about the pld-cvs-commit mailing list