SPECS: libcap.spec - moved libcap.so devel link to plain libdir - ...

qboosh qboosh at pld-linux.org
Sun Dec 25 17:02:25 CET 2005


Author: qboosh                       Date: Sun Dec 25 16:02:25 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- moved libcap.so devel link to plain libdir
- remove capget/capset syscall manuals (newer versions exist in man-pages)
- release 5

---- Files affected:
SPECS:
   libcap.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/libcap.spec
diff -u SPECS/libcap.spec:1.47 SPECS/libcap.spec:1.48
--- SPECS/libcap.spec:1.47	Tue Aug  3 21:22:07 2004
+++ SPECS/libcap.spec	Sun Dec 25 17:02:19 2005
@@ -4,7 +4,7 @@
 Summary(pt_BR):	Biblioteca para leitura e configuraçăo de capabilities.
 Name:		libcap
 Version:	1.10
-Release:	4
+Release:	5
 Epoch:		1
 License:	GPL or BSD
 Group:		Applications/System
@@ -63,6 +63,14 @@
 	LIBDIR=$RPM_BUILD_ROOT/%{_lib} \
 	MANDIR=$RPM_BUILD_ROOT%{_mandir}
 
+install -d $RPM_BUILD_ROOT%{_libdir}
+ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo libcap.so.*.*) \
+	$RPM_BUILD_ROOT%{_libdir}/libcap.so
+
+# newer versions exist in man-pages
+# and these syscalls are specific to Linux/glibc, not libcap
+rm -f $RPM_BUILD_ROOT%{_mandir}/man2/cap{get,set}.2
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -77,9 +85,9 @@
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) /%{_lib}/lib*.so
-%{_mandir}/man[23]/*
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_includedir}/sys/capability.h
+%{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -87,6 +95,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2005/12/25 16:02:19  qboosh
+- moved libcap.so devel link to plain libdir
+- remove capget/capset syscall manuals (newer versions exist in man-pages)
+- release 5
+
 Revision 1.47  2004/08/03 19:22:07  qboosh
 - updated link patch to not duplicate libc functions and fix build on ia64
 - release 4
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libcap.spec?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list