[packages/ruby-bundler] requre newer thor, 0.13.4 is too old; package bin

glen glen at pld-linux.org
Wed Apr 3 13:40:17 CEST 2013


commit 1b88a092bfc3d004079153b8460cd134692bc009
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Apr 3 14:39:28 2013 +0300

    requre newer thor, 0.13.4 is too old; package bin

 ruby-bundler.spec | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/ruby-bundler.spec b/ruby-bundler.spec
index 8163131..85a1b95 100644
--- a/ruby-bundler.spec
+++ b/ruby-bundler.spec
@@ -2,7 +2,7 @@
 Summary:	Library and utilities to manage a Ruby application's gem dependencies
 Name:		ruby-%{pkgname}
 Version:	1.3.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Development/Languages
 Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
@@ -10,7 +10,7 @@ Source0:	http://rubygems.org/downloads/%{pkgname}-%{version}.gem
 URL:		http://github.com/carlhuda/bundler
 BuildRequires:	rpmbuild(macros) >= 1.277
 BuildRequires:	ruby-modules
-Requires:	ruby-thor
+Requires:	ruby-thor >= 0.17
 %{?ruby_mod_ver_requires_eq}
 #BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,8 +67,9 @@ rm ri/Object/cdesc-Object.ri
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
 
+cp -a bin/* $RPM_BUILD_ROOT%{_bindir}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
 cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
 cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
@@ -78,6 +79,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/bundle
+%attr(755,root,root) %{_bindir}/bundle_ruby
 %{ruby_rubylibdir}/bundler
 %{ruby_rubylibdir}/bundler.rb
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-bundler.git/commitdiff/1b88a092bfc3d004079153b8460cd134692bc009



More information about the pld-cvs-commit mailing list