From: Stefan Schantl Date: Sun, 2 Oct 2011 19:00:56 +0000 (+0200) Subject: libcap-ng: Move libraries to /lib. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=49026b7ddbe382afa92fed9f82611614e0569aaf;p=people%2Fpmueller%2Fipfire-3.x.git libcap-ng: Move libraries to /lib. --- diff --git a/libcap-ng/libcap-ng.nm b/libcap-ng/libcap-ng.nm index 36b5a787a..e2971c3da 100644 --- a/libcap-ng/libcap-ng.nm +++ b/libcap-ng/libcap-ng.nm @@ -5,7 +5,7 @@ name = libcap-ng version = 0.6.5 -release = 1 +release = 2 groups = System/Libraries url = http://people.redhat.com/sgrubb/libcap-ng @@ -13,11 +13,11 @@ license = LGPLv2+ summary = An alternate posix capabilities library. description - Libcap-ng is a library that makes using posix capabilities \ + Libcap-ng is a library that makes using posix capabilities easier. end -source_dl = +source_dl = http://people.redhat.com/sgrubb/libcap-ng/ build requires @@ -25,6 +25,15 @@ build python end + install_cmds + # Move libraries to lib + mkdir -pv %{BUILDROOT}/lib + mv -vf %{BUILDROOT}/usr/lib/libcap-ng.so.* %{BUILDROOT}/lib/ + + # Recreate symlink + ln -svf ../../lib/libcap-ng.so.0 %{BUILDROOT}/usr/lib/libcap-ng.so + end + # XXX Testsuite is broken by the package developers #def test # make check