[projects/template-specs] update

glen glen at pld-linux.org
Wed Jan 15 17:48:48 CET 2014


commit 33481455f6d0cee4ece5eb186992729f480a1f6c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jan 15 18:48:01 2014 +0200

    update

 ruby.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/ruby.spec b/ruby.spec
index fabc7dc..8490485 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -79,6 +79,10 @@ cp %{_datadir}/setup.rb .
 	--rbdir=%{ruby_vendorlibdir} \
 	--sodir=%{ruby_vendorarchdir}
 
+ruby setup.rb config \
+	--site-ruby=%{ruby_vendorlibdir} \
+	--so-dir=%{ruby_vendorarchdir}
+
 ruby extconf.rb --vendor --with-pgsql-include=%{_includedir}/pgsql/server
 
 ruby setup.rb config \
@@ -145,6 +149,7 @@ cp -a rdoc/* $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
 
 # install gemspec
 install -d $RPM_BUILD_ROOT%{ruby_specdir}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir}}
 cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/4db70b3117b685e394776624428725a78bcd2bdc



More information about the pld-cvs-commit mailing list