diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-01-10 15:19:13 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-09 17:50:36 +0200 |
commit | 268684e229a3cc4e941c8378b3ddd056cbf0eb67 (patch) | |
tree | e661d55c54fc11e9c4f94b13905d468097c255ae /t | |
parent | 166471753c218266697f88a521eb1a042523cb1d (diff) | |
download | urpmi-268684e229a3cc4e941c8378b3ddd056cbf0eb67.tar urpmi-268684e229a3cc4e941c8378b3ddd056cbf0eb67.tar.gz urpmi-268684e229a3cc4e941c8378b3ddd056cbf0eb67.tar.bz2 urpmi-268684e229a3cc4e941c8378b3ddd056cbf0eb67.tar.xz urpmi-268684e229a3cc4e941c8378b3ddd056cbf0eb67.zip |
FreeBSD's cpio doesn't support --dereference
Diffstat (limited to 't')
-rw-r--r-- | t/data/SPECS/rpm-query-in-scriptlet.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/t/data/SPECS/rpm-query-in-scriptlet.spec b/t/data/SPECS/rpm-query-in-scriptlet.spec index 2df8c227..d7c08f1a 100644 --- a/t/data/SPECS/rpm-query-in-scriptlet.spec +++ b/t/data/SPECS/rpm-query-in-scriptlet.spec @@ -23,8 +23,14 @@ for i in sh rpm; do echo $bin >> list 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 --dereference %buildroot) +grep '/' list | (cd / ; cpio -pumd %cpio_opts %buildroot) # prelinked libraries/binaries cause rpm to abort installation on # md5sum errors while package signature does be OK :-( : |