From 9b38622f935cdbf48f61933283add72a9595f382 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 13 Jul 2016 14:12:09 +0100 Subject: [PATCH] benchmarking: Don't install libtool wrapper scripts. --- libguestfs.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 1a50ecc..254c8eb 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -1044,9 +1044,9 @@ rm ocaml/html/.gitignore %ifarch aarch64 x86_64 # Copy the benchmarking tools and man pages, since upstream doesn't -# install them by default. -install -m 0755 utils/boot-analysis/boot-analysis $RPM_BUILD_ROOT%{_bindir}/libguestfs-boot-analysis -install -m 0755 utils/boot-benchmark/boot-benchmark $RPM_BUILD_ROOT%{_bindir}/libguestfs-boot-benchmark +# install them by default. NB Don't install the libtool wrapper scripts. +libtool --mode=install -m 0755 utils/boot-analysis/boot-analysis $RPM_BUILD_ROOT%{_bindir}/libguestfs-boot-analysis +libtool --mode=install -m 0755 utils/boot-benchmark/boot-benchmark $RPM_BUILD_ROOT%{_bindir}/libguestfs-boot-benchmark install -m 0755 utils/boot-benchmark/boot-benchmark-range.pl $RPM_BUILD_ROOT%{_bindir}/libguestfs-boot-benchmark-range.pl install -m 0644 utils/boot-analysis/boot-analysis.1 $RPM_BUILD_ROOT%{_mandir}/man1/libguestfs-boot-analysis.1 install -m 0644 utils/boot-benchmark/boot-benchmark.1 $RPM_BUILD_ROOT%{_mandir}/man1/libguestfs-boot-benchmark.1