SPECS: libaio.spec - resolve manuals conflict with man-pages and g...

qboosh qboosh at pld-linux.org
Mon Sep 10 01:12:48 CEST 2007


Author: qboosh                       Date: Sun Sep  9 23:12:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- resolve manuals conflict with man-pages and glibc-devel-doc

---- Files affected:
SPECS:
   libaio.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/libaio.spec
diff -u SPECS/libaio.spec:1.4 SPECS/libaio.spec:1.5
--- SPECS/libaio.spec:1.4	Mon Sep 10 01:04:51 2007
+++ SPECS/libaio.spec	Mon Sep 10 01:12:43 2007
@@ -71,11 +71,13 @@
 	prefix=$RPM_BUILD_ROOT%{_prefix} \
 	libdir=$RPM_BUILD_ROOT%{_libdir}
 
-install -d $RPM_BUILD_ROOT%{_mandir}/man{2,3}
-install man/*.3 $RPM_BUILD_ROOT%{_mandir}/man3
-for f in man/*.1 ; do
-	install $f $RPM_BUILD_ROOT%{_mandir}/man2/`basename $f .1`.2
-done
+# omit some manuals:
+# man2/io_* already included in man-pages
+# some man3/aio_* already included in glibc-devel-doc (from man-pages)
+install -d $RPM_BUILD_ROOT%{_mandir}/man3
+install man/aio{,_cancel64,_error64,_fsync64,_init,_read64,_return64,_suspend64,_write64}.3 $RPM_BUILD_ROOT%{_mandir}/man3
+install man/io*.3 $RPM_BUILD_ROOT%{_mandir}/man3
+install man/lio*.3 $RPM_BUILD_ROOT%{_mandir}/man3
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -92,7 +94,6 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libaio.so
 %{_includedir}/libaio.h
-%{_mandir}/man2/io_*.2*
 %{_mandir}/man3/aio*.3*
 %{_mandir}/man3/io*.3*
 %{_mandir}/man3/lio_*.3*
@@ -107,6 +108,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/09/09 23:12:43  qboosh
+- resolve manuals conflict with man-pages and glibc-devel-doc
+
 Revision 1.4  2007/09/09 23:04:51  qboosh
 - updated to 0.3.106
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libaio.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list