SPECS (DEVEL): ruby1.9.spec - fix doc
twittner
twittner at pld-linux.org
Sat Aug 16 22:49:09 CEST 2008
Author: twittner Date: Sat Aug 16 20:49:09 2008 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- fix doc
---- Files affected:
SPECS:
ruby1.9.spec (1.1.2.1 -> 1.1.2.2)
---- Diffs:
================================================================
Index: SPECS/ruby1.9.spec
diff -u SPECS/ruby1.9.spec:1.1.2.1 SPECS/ruby1.9.spec:1.1.2.2
--- SPECS/ruby1.9.spec:1.1.2.1 Sat Aug 16 21:21:57 2008
+++ SPECS/ruby1.9.spec Sat Aug 16 22:49:03 2008
@@ -238,7 +238,7 @@
install -d $RPM_BUILD_ROOT{%{_infodir},%{_mandir}/man1,%{_examplesdir}/ruby-%{version},%{ruby_ridir}}
install -d $RPM_BUILD_ROOT{%{_datadir}/ruby,%{_emacs_lispdir}/{ruby-mode,site-start.d}}
-%{__make} install \
+%{__make} %{?with_doc:install}%{!?with_doc:install-nodoc} \
DESTDIR=$RPM_BUILD_ROOT
cp -Rf sample/* $RPM_BUILD_ROOT%{_examplesdir}/ruby-%{version}
@@ -253,6 +253,7 @@
#cp -Rf rubyfaq faq
%{?with_doc:cp -Rf .ext/rdoc/* $RPM_BUILD_ROOT%{ruby_ridir}}
+%{?with_doc:%{__sed} -i 's@\(<a href="\)classes/@\1@' rdoc/classes/*.html}
# ruby emacs mode - borrowed from FC-4
%if %{with emacs}
@@ -387,7 +388,7 @@
%files doc
%defattr(644,root,root,755)
-%doc rdoc
+%doc rdoc/*
%files doc-ri
%defattr(644,root,root,755)
@@ -412,6 +413,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.1.2.2 2008/08/16 20:49:03 twittner
+- fix doc
+
Revision 1.1.2.1 2008/08/16 19:21:57 twittner
- up to 1.9.0.2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ruby1.9.spec?r1=1.1.2.1&r2=1.1.2.2&f=u
More information about the pld-cvs-commit
mailing list