summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/data/SPECS/rpm-query-in-scriptlet.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/data/SPECS/rpm-query-in-scriptlet.spec b/t/data/SPECS/rpm-query-in-scriptlet.spec
index dc331998..bedd95bd 100644
--- a/t/data/SPECS/rpm-query-in-scriptlet.spec
+++ b/t/data/SPECS/rpm-query-in-scriptlet.spec
@@ -20,6 +20,13 @@ for i in sh rpm; do
done
grep '/' list | (cd / ; cpio -pumd --dereference %buildroot)
+# prelinked libraries/binaries which
+# cause rpm to abort installation on md5sum errors while package signature does
+# be OK :-( :
+if [ -x /usr/sbin/prelink ]; then
+ for i in $(find %{buildroot}/ -type f);do /usr/sbin/prelink -u $i || : ;done
+fi
+
find %buildroot
%post