*** empty log message ***
This commit is contained in:
parent
e323e92339
commit
8f19dd2c88
12
ruby.spec
12
ruby.spec
@ -285,20 +285,18 @@ done
|
|||||||
# done
|
# done
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# generate ri doc
|
||||||
|
make -C $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} RUNRUBY="\$(MINIRUBY) \$(srcdir)/runruby.rb --extout=\$(EXTOUT) --" DESTDIR=$RPM_BUILD_ROOT install-doc
|
||||||
|
#DESTDIR=$RPM_BUILD_ROOT LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/ruby -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} -I $RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os}/ -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}/lib $RPM_BUILD_ROOT%{_bindir}/rdoc --all --ri-system $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}
|
||||||
|
|
||||||
# installing binaries ...
|
# installing binaries ...
|
||||||
cd %{name}-%{version}
|
make -C $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} DESTDIR=$RPM_BUILD_ROOT install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
_cpu=`echo %{_target_cpu} | sed 's/^ppc/powerpc/'`
|
_cpu=`echo %{_target_cpu} | sed 's/^ppc/powerpc/'`
|
||||||
|
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir2}/%{rubyxver}
|
%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir2}/%{rubyxver}
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir}/%{rubyxver}/$_cpu-%{_target_os}
|
%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir}/%{rubyxver}/$_cpu-%{_target_os}
|
||||||
|
|
||||||
# generate ri doc
|
|
||||||
make -C $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} RUNRUBY="$RPM_BUILD_ROOT%{_bindir}/ruby -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} -I $RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os} -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}/lib \$(srcdir)/runruby.rb --extout=\$(EXTOUT) --" DESTDIR=$RPM_BUILD_ROOT install-doc
|
|
||||||
#DESTDIR=$RPM_BUILD_ROOT LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_bindir}/ruby -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version} -I $RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os}/ -I $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}/lib $RPM_BUILD_ROOT%{_bindir}/rdoc --all --ri-system $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}
|
|
||||||
|
|
||||||
# XXX: installing irb
|
# XXX: installing irb
|
||||||
install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/
|
install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user