[shogun/el5] remove the installed headers and libshogun.so
Björn Esser
besser82 at fedoraproject.org
Mon Feb 24 13:50:29 UTC 2014
commit 4bd7430ae4baa9dbaac38ab738c4c296fa185fd4
Author: Björn Esser <bjoern.esser at gmail.com>
Date: Mon Feb 24 14:49:42 2014 +0100
remove the installed headers and libshogun.so
shogun.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/shogun.spec b/shogun.spec
index e9ddfbf..6d22369 100644
--- a/shogun.spec
+++ b/shogun.spec
@@ -774,6 +774,10 @@ export CUSTOM_INSTALL_DIR="`pwd`/test_install/"
pushd %{py3dir}/build
make install DESTDIR=${CUSTOM_INSTALL_DIR}
popd
+
+# Remove the installed headers and libshogun.so
+rm -rf ${CUSTOM_INSTALL_DIR}%{_includedir} \
+ ${CUSTOM_INSTALL_DIR}%{_libdir}/lib%{name}.so*
%endif #0%{?with_python3}
pushd build
More information about the scm-commits
mailing list