]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/commitdiff
pakfire: Add patch that fixes the libs-location check.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Mar 2012 14:19:08 +0000 (15:19 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 11 Mar 2012 14:19:08 +0000 (15:19 +0100)
Find searched too deep in the filesystem for .so files.

pakfire/pakfire.nm
pakfire/patches/pakfire-0.9.20-fix-searching-too-deep.patch [new file with mode: 0644]

index 5ee0bc802e1a8c664c56ea21d55dca39bc818671..cf891d351907d9bd16a6bee23c7daed61e229b9b 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = pakfire
 version    = 0.9.20
-release    = 4
+release    = 5
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 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 (file)
index 0000000..0f6f328
--- /dev/null
@@ -0,0 +1,19 @@
+commit da1de278eca7d6663cce89f7c1ad2a312fda8abb
+Author: Michael Tremer <michael.tremer@ipfire.org>
+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*}