*** empty log message ***
This commit is contained in:
parent
714d9f4d4c
commit
ab1fd1f169
10
ruby.spec
10
ruby.spec
@ -262,7 +262,15 @@ make DESTDIR=$RPM_BUILD_ROOT install
|
||||
cd ..
|
||||
|
||||
# generate ri 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}/%{_target_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}
|
||||
case %{_target_cpu} in
|
||||
ppc|ppc64)
|
||||
_cpu=%{_arch}
|
||||
;;
|
||||
*)
|
||||
_cpu=%{_target_cpu}
|
||||
;
|
||||
esac
|
||||
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
|
||||
chmod 555 $RPM_BUILD_ROOT%{_bindir}/irb
|
||||
|
Loading…
Reference in New Issue
Block a user