[packages/ruby-addressable] up to 2.3.5, package unicode.data

glen glen at pld-linux.org
Tue Aug 20 23:53:53 CEST 2013


commit 20ea1ddfe402d28b876948e534887057d03536cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Aug 21 00:53:35 2013 +0300

    up to 2.3.5, package unicode.data

 ruby-addressable.spec | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/ruby-addressable.spec b/ruby-addressable.spec
index 7e9d990..f189cea 100644
--- a/ruby-addressable.spec
+++ b/ruby-addressable.spec
@@ -5,12 +5,12 @@
 %define	pkgname	addressable
 Summary:	Improved URI/URL Implementation
 Name:		ruby-%{pkgname}
-Version:	2.3.4
-Release:	2
+Version:	2.3.5
+Release:	1
 License:	Apache v2.0
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
-# Source0-md5:	8f65a872503163a710f69b0fa2e9c4e3
+# Source0-md5:	6b9a61885c3c95f912eec560f8f2e3eb
 URL:		http://addressable.rubyforge.org/
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.656
@@ -39,9 +39,10 @@ rspec spec/
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{ruby_vendordir}/data}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+cp -a data/* $RPM_BUILD_ROOT%{ruby_vendordir}/data
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -51,3 +52,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc README.md CHANGELOG.md LICENSE.txt
 %{ruby_vendorlibdir}/%{pkgname}
 %{ruby_specdir}/%{pkgname}-%{version}.gemspec
+
+# XXX move %{ruby_vendordir}/data to ruby.spec
+%dir %{ruby_vendordir}/data
+%{ruby_vendordir}/data/unicode.data
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-addressable.git/commitdiff/20ea1ddfe402d28b876948e534887057d03536cf



More information about the pld-cvs-commit mailing list