[packages/gc] move apidocs to -devel

glen glen at pld-linux.org
Thu Nov 12 17:04:58 CET 2015


commit 073f1086916c704c96b13a31bb1a6eef1b1b0477
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 12 18:04:53 2015 +0200

    move apidocs to -devel

 gc.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gc.spec b/gc.spec
index d8c6707..4f238bc 100644
--- a/gc.spec
+++ b/gc.spec
@@ -3,7 +3,7 @@ Summary(pl.UTF-8):	Konserwatywny odśmiecacz pamięci Boehma-Demersa-Weisera
 Name:		gc
 # NOTE: 7.4.0 is considered experimental (as of Nov 2013)
 Version:	7.2e
-Release:	2
+Release:	3
 License:	BSD-like
 Group:		Libraries
 Source0:	http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/%{name}-%{version}.tar.gz
@@ -119,9 +119,9 @@ rm -rf $RPM_BUILD_ROOT
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_includedir}/gc/private
-install -D doc/gc.man $RPM_BUILD_ROOT%{_mandir}/man3/gc.3
+install -D -p doc/gc.man $RPM_BUILD_ROOT%{_mandir}/man3/gc.3
 # are these still needed? (what is ecls?)
-install include/private/* $RPM_BUILD_ROOT%{_includedir}/gc/private
+cp -a include/private/* $RPM_BUILD_ROOT%{_includedir}/gc/private
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -134,7 +134,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.QUICK doc/README{,.{linux,changes,contributors,environment,macros}} doc/*.html
+%doc README.QUICK doc/README{,.{linux,changes,contributors,environment,macros}}
 %attr(755,root,root) %{_libdir}/libcord.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libcord.so.1
 %attr(755,root,root) %{_libdir}/libgc.so.*.*.*
@@ -142,6 +142,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
+%doc doc/*.html
 %attr(755,root,root) %{_libdir}/libcord.so
 %attr(755,root,root) %{_libdir}/libgc.so
 %{_libdir}/libcord.la
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gc.git/commitdiff/073f1086916c704c96b13a31bb1a6eef1b1b0477



More information about the pld-cvs-commit mailing list