summaryrefslogtreecommitdiffstats
path: root/t/data/SPECS/ordering-scriptlets
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-01-08 09:31:03 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-09 17:50:36 +0200
commit166471753c218266697f88a521eb1a042523cb1d (patch)
tree4bd16e9d105a7314698450470d5101281a6eb3d9 /t/data/SPECS/ordering-scriptlets
parentfb259d8223f79c37e8024d70f144ed612be4b74e (diff)
downloadurpmi-166471753c218266697f88a521eb1a042523cb1d.tar
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.gz
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.bz2
urpmi-166471753c218266697f88a521eb1a042523cb1d.tar.xz
urpmi-166471753c218266697f88a521eb1a042523cb1d.zip
cpan-testers: fix building rpms on FreeBSD
install do not have -d option on FreeBSD
Diffstat (limited to 't/data/SPECS/ordering-scriptlets')
-rw-r--r--t/data/SPECS/ordering-scriptlets/a_1.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/data/SPECS/ordering-scriptlets/a_1.spec b/t/data/SPECS/ordering-scriptlets/a_1.spec
index df4895ae..216f6360 100644
--- a/t/data/SPECS/ordering-scriptlets/a_1.spec
+++ b/t/data/SPECS/ordering-scriptlets/a_1.spec
@@ -27,7 +27,8 @@ gcc -Wall -static -o a a.c
%install
rm -rf $RPM_BUILD_ROOT
-install -D a $RPM_BUILD_ROOT/bin/a
+mkdir -p $RPM_BUILD_ROOT/bin/
+cp a $RPM_BUILD_ROOT/bin/a
%clean
rm -rf $RPM_BUILD_ROOT