summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/ordering-scriptlets/a_1.spec
diff options
context:
space:
mode:
Diffstat (limited to 't/data/SPECS/ordering-scriptlets/a_1.spec')
-rw-r--r--t/data/SPECS/ordering-scriptlets/a_1.spec7
1 files changed, 1 insertions, 6 deletions
diff --git a/t/data/SPECS/ordering-scriptlets/a_1.spec b/t/data/SPECS/ordering-scriptlets/a_1.spec
index fc34d27f..41776692 100644
--- a/t/data/SPECS/ordering-scriptlets/a_1.spec
+++ b/t/data/SPECS/ordering-scriptlets/a_1.spec
@@ -36,14 +36,9 @@ rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/bin/
cp a $RPM_BUILD_ROOT/bin/a
-%ifos linux
-%global cpio_opts --dereference
-%else
-%global cpio_opts %nil
-%endif
# Install the wanted libs if not static:
ldd a | sed -e 's/^[ \t]*//' -e 's/.* => //' -e 's/ .*//' > list
-grep '/' list | (cd / ; cpio -pumd %cpio_opts %buildroot)
+grep '/' list | (cd / ; cpio -pumdL %buildroot)
find %buildroot
%clean