From: Michael Tremer Date: Sun, 11 Mar 2012 14:19:08 +0000 (+0100) Subject: pakfire: Add patch that fixes the libs-location check. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44fd543e3a2f1efc1784ef2c13da5bbbe10c66af;p=ipfire-3.x.git pakfire: Add patch that fixes the libs-location check. Find searched too deep in the filesystem for .so files. --- diff --git a/pakfire/pakfire.nm b/pakfire/pakfire.nm index 5ee0bc802..cf891d351 100644 --- a/pakfire/pakfire.nm +++ b/pakfire/pakfire.nm @@ -5,7 +5,7 @@ name = pakfire version = 0.9.20 -release = 4 +release = 5 maintainer = Michael Tremer groups = System/Packaging diff --git a/pakfire/patches/pakfire-0.9.20-fix-searching-too-deep.patch b/pakfire/patches/pakfire-0.9.20-fix-searching-too-deep.patch new file mode 100644 index 000000000..0f6f32879 --- /dev/null +++ b/pakfire/patches/pakfire-0.9.20-fix-searching-too-deep.patch @@ -0,0 +1,19 @@ +commit da1de278eca7d6663cce89f7c1ad2a312fda8abb +Author: Michael Tremer +Date: Sun Mar 11 15:03:21 2012 +0100 + + QA: libs-location: Don't search in the deep. + +diff --git a/tools/quality-agent.d/003-libs-location b/tools/quality-agent.d/003-libs-location +index 4c2e8ba..479f170 100755 +--- a/tools/quality-agent.d/003-libs-location ++++ b/tools/quality-agent.d/003-libs-location +@@ -25,7 +25,7 @@ function check() { + local failed=0 + local found + +- for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -type f -name "lib*.so.*" 2>/dev/null); do ++ for lib in $(find ${BUILDROOT}/{,usr/}${libdir} -maxdepth 1 -type f -name "lib*.so.*" 2>/dev/null); do + lib=${lib##*/} + lib=${lib%%.so*} +