rpmbuild: Don't copy binaries from build/bin build/examples
make install already does that for us - from build/examples some subset of binaries is selected but in the rpm scope it should be enough. Signed-off-by: Michal Berger <michal.berger@intel.com> Change-Id: I3045711fc3daead9c255fc586600abe5796bc783 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14798 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: <sebastian.brzezinka@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
This commit is contained in:
parent
b1aaa1e817
commit
3884539699
@ -75,9 +75,7 @@ cp -a %{dpdk_build_path}/lib/* %{buildroot}/usr/local/lib/dpdk/
|
||||
[[ -e %{dpdk_path}/isa-l/build/lib ]] && cp -a %{dpdk_path}/isa-l/build/lib/*.so* %{buildroot}/usr/local/lib/dpdk/
|
||||
%endif
|
||||
|
||||
# Try to include all the binaries that were potentially built
|
||||
[[ -e build/examples ]] && cp -a build/examples/* %{buildroot}/usr/local/bin/
|
||||
[[ -e build/bin ]] && cp -a build/bin/* %{buildroot}/usr/local/bin/
|
||||
# Try to include extra binaries that were potentially built
|
||||
[[ -e build/fio ]] && cp -a build/fio %{buildroot}/usr/local/bin/fio
|
||||
|
||||
# And some useful setup scripts SPDK uses
|
||||
|
Loading…
Reference in New Issue
Block a user