[packages/gem2rpm] install to version independant ruby dir

glen glen at pld-linux.org
Mon Aug 10 10:30:36 CEST 2015


commit 575f7dc5febd621b87b816e69271f9c08c4a8783
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 10 11:30:25 2015 +0300

    install to version independant ruby dir

 gem2rpm.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gem2rpm.spec b/gem2rpm.spec
index c8706da..35b1162 100644
--- a/gem2rpm.spec
+++ b/gem2rpm.spec
@@ -5,7 +5,7 @@
 Summary:	Generate rpm specfiles from gems
 Name:		gem2rpm
 Version:	0.10.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Development/Languages
 Source0:	https://github.com/fedora-ruby/gem2rpm/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -59,10 +59,10 @@ testrb -Itest test/
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{_bindir}}
 
 cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
-cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
 
 install -d $RPM_BUILD_ROOT%{_datadir}/ruby/templates
 cp -a templates/* $RPM_BUILD_ROOT%{_datadir}/ruby/templates
@@ -74,6 +74,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README AUTHORS
 %attr(755,root,root) %{_bindir}/gem2rpm
-%{ruby_rubylibdir}/gem2rpm.rb
-%{ruby_rubylibdir}/gem2rpm
+%{ruby_vendorlibdir}/gem2rpm.rb
+%{ruby_vendorlibdir}/gem2rpm
 %{_datadir}/ruby/templates
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list