Accepting request 127075 from home:saschpe:branches:devel:languages:ruby
- Fix old-style %gem_install macro (missing parameter) OBS-URL: https://build.opensuse.org/request/show/127075 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby?expand=0&rev=34
This commit is contained in:
parent
96685ceb06
commit
5c82dd3e1e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 4 08:59:02 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Fix old-style %gem_install macro (missing parameter)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 3 08:02:01 UTC 2012 - saschpe@suse.de
|
||||
|
||||
|
@ -55,8 +55,8 @@ cd $GEMSPEC_SOURCE_DIR && %{gem_binary} build --verbose *.gemspec \
|
||||
# building the upstream gem directly in $RPM_BUILD_ROOT without unpacking to %{_builddir} first.
|
||||
#
|
||||
%gem_install() \
|
||||
if [ %# -eq 1 ]; then \
|
||||
%{gem_binary} install --verbose --local --build-root=%{buildroot} \
|
||||
if [ %# -ge 1 ]; then \
|
||||
%{gem_binary} install --verbose --local --build-root=%{buildroot} %* \
|
||||
else \
|
||||
GEM_FILE=`find . -maxdepth 2 -type f -name "%{mod_name}-%{version}.gem"` \
|
||||
%{gem_binary} install --verbose --local --bindir %{buildroot}%{_bindir} --install-dir %{buildroot}%{_libdir}/ruby/gems/%{rb_ver} $GEM_FILE \
|
||||
|
Loading…
Reference in New Issue
Block a user