]> git.pld-linux.org Git - packages/libcap.git/commitdiff
- moved libcap.so devel link to plain libdir auto/th/libcap-1_10-5
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Dec 2005 16:02:19 +0000 (16:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove capget/capset syscall manuals (newer versions exist in man-pages)
- release 5

Changed files:
    libcap.spec -> 1.48

libcap.spec

index d13058a8bee35affb8eb9c365240150fc8e4f118..6114c363f41972f1c320b56551e54b83c3666d3b 100644 (file)
@@ -3,7 +3,7 @@ Summary(pl):    Wsparcie dla standardu "capability" POSIX.1e
 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
@@ -62,6 +62,14 @@ rm -rf $RPM_BUILD_ROOT
        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
 
@@ -76,6 +84,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %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/*
This page took 0.030545 seconds and 4 git commands to generate.