From f77beb93a16973b37c82b5b7e3e443a3aeb25013f9679df363bcb37a3670f31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 22 Jun 2012 21:06:30 +0000 Subject: [PATCH] Accepting request 125827 from home:scorot:branches:devel:libraries:c_c++ fix build on SLE 11 SP2 OBS-URL: https://build.opensuse.org/request/show/125827 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/armadillo?expand=0&rev=45 --- armadillo.changes | 5 +++++ armadillo.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/armadillo.changes b/armadillo.changes index 0f8983b..912e5f9 100644 --- a/armadillo.changes +++ b/armadillo.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 22 19:04:09 UTC 2012 - scorot@free.fr + +- fix build on SLE 11 + ------------------------------------------------------------------- Thu May 31 17:33:30 UTC 2012 - badshah400@gmail.com diff --git a/armadillo.spec b/armadillo.spec index 1625e73..86991e0 100644 --- a/armadillo.spec +++ b/armadillo.spec @@ -105,7 +105,9 @@ for i in `ls licenses/`; do sed -i 's/\r//' licenses/$i ; done for i in `ls examples/*.cpp`; do sed -i 's/\r//' $i; done %build -cmake . +cmake . \ + -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}\ + -DINSTALL_LIB_DIR:PATH=%{_libdir} %{__make} %{?_smp_mflags} %install