]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - libcap/libcap.nm
kernel: Update to 3.15.6.
[people/ms/ipfire-3.x.git] / libcap / libcap.nm
index 5b5f1ed5bae03492bb6b901c7aa2671aa084d8e8..6941bda5cb0f77343d1e47eeef8bccd9df1cb7bf 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = libcap
-version    = 2.19
-release    = 1
+version    = 2.22
+release    = 3
 
 groups     = System/Libraries
 url        = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
@@ -13,7 +13,7 @@ license    = LGPL2+
 summary    = Library for getting and setting POSIX.1e capabilities.
 
 description
-       libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) \
+       libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
        draft 15 capabilities.
 end
 
@@ -33,21 +33,19 @@ build
        end
 
        install
-               make install DESTDIR=%{BUILDROOT} lib=/lib
-
-               rm -vf %{BUILDROOT}/lib/libcap.so
-               mkdir -pv %{BUILDROOT}/usr/lib
-               ln -svf ../../lib/libcap.so.2 %{BUILDROOT}/usr/lib/libcap.so
-
-               chmod 755 %{BUILDROOT}/lib/libcap.so.%{version}
+               make install DESTDIR=%{BUILDROOT} prefix=%{prefix} lib=%{lib}
+               chmod 755 %{BUILDROOT}/%{libdir}/libcap.so.%{version}
        end
 end
 
 packages
        package %{name}
-       end
-       
+
        package %{name}-devel
                template DEVEL
        end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
 end