summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/rpm-query-in-scriptlet.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/rpm-query-in-scriptlet.spec')
-rw-r--r--t/data/SPECS/rpm-query-in-scriptlet.spec7
1 files changed, 1 insertions, 6 deletions
diff --git a/t/data/SPECS/rpm-query-in-scriptlet.spec b/t/data/SPECS/rpm-query-in-scriptlet.spec
index 630d036d..0ed59ecd 100644
--- a/t/data/SPECS/rpm-query-in-scriptlet.spec
+++ b/t/data/SPECS/rpm-query-in-scriptlet.spec
@@ -24,13 +24,8 @@ for i in sh rpm; do
ldd $bin | sed -e 's/^[ \t]*//' -e 's/.* => //' -e 's/ .*//' >> list
done
-%ifos linux
-%global cpio_opts --dereference
-%else
-%global cpio_opts %nil
-%endif
# Install the wanted tools and their deps:
-grep '/' list | (cd / ; cpio -pumd %cpio_opts %buildroot)
+grep '/' list | (cd / ; cpio -pumdL %buildroot)
# prelinked libraries/binaries cause rpm to abort installation on
# md5sum errors while package signature does be OK :-( :