summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/ordering-scriptlets
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-24 08:11:31 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 14:44:04 +0200
commit8424241ebdea1e07b852c0d77d6520d51b35b7f4 (patch)
tree55f3ab1236ecd5208b8f1cd25ee14a12fd3c31c1 /t/data/SPECS/ordering-scriptlets
parentffb72d9f9da27c7767849e669fe8e2ef365bdda2 (diff)
downloadurpmi-8424241ebdea1e07b852c0d77d6520d51b35b7f4.tar
urpmi-8424241ebdea1e07b852c0d77d6520d51b35b7f4.tar.gz
urpmi-8424241ebdea1e07b852c0d77d6520d51b35b7f4.tar.bz2
urpmi-8424241ebdea1e07b852c0d77d6520d51b35b7f4.tar.xz
urpmi-8424241ebdea1e07b852c0d77d6520d51b35b7f4.zip
simplify: BSD support -L but not --dereference
This might help the following failure: http://www.cpantesters.org/cpan/report/c8c690aa-8587-11ea-81c4-93681f24ea8f cpio: Can't lstat /bin/sh: cpio: Can't lstat /usr/local/bin/rpm:
Diffstat (limited to 't/data/SPECS/ordering-scriptlets')
-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