From ec166a3d6dca3b7415e5cd4794eeebe5517642ca1e486567c329434f1685d1b7 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 18 Nov 2020 08:13:53 +0000 Subject: [PATCH] Accepting request 848439 from home:badshah400:branches:devel:libraries:c_c++ * Update to version 10.1.2. * Enable building smoke test and run test as part of %check section. OBS-URL: https://build.opensuse.org/request/show/848439 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/armadillo?expand=0&rev=278 --- armadillo-10.1.1.tar.xz | 3 --- armadillo-10.1.2.tar.xz | 3 +++ armadillo.changes | 8 ++++++++ armadillo.spec | 8 ++++++-- 4 files changed, 17 insertions(+), 5 deletions(-) delete mode 100644 armadillo-10.1.1.tar.xz create mode 100644 armadillo-10.1.2.tar.xz diff --git a/armadillo-10.1.1.tar.xz b/armadillo-10.1.1.tar.xz deleted file mode 100644 index 89b9b73..0000000 --- a/armadillo-10.1.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95e021dba80830e4d55f69a826e4d65c7411a4e400788a387563da16aef51c8e -size 6040456 diff --git a/armadillo-10.1.2.tar.xz b/armadillo-10.1.2.tar.xz new file mode 100644 index 0000000..bd1ffe0 --- /dev/null +++ b/armadillo-10.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96ef79b65c9cecbfcafac6113da85e695c97e796ffffd04b4280c7a8daf5635d +size 6050364 diff --git a/armadillo.changes b/armadillo.changes index 8d3e0ee..a558e59 100644 --- a/armadillo.changes +++ b/armadillo.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Nov 13 23:28:10 UTC 2020 - Atri Bhattacharya + +- Update to version 10.1.2: + * Bug-fix release, no changelog from upstream. +- Enable building smoke test and run test as part of %check + section. + ------------------------------------------------------------------- Sat Oct 31 18:37:23 UTC 2020 - Atri Bhattacharya diff --git a/armadillo.spec b/armadillo.spec index 490fac5..3771ddb 100644 --- a/armadillo.spec +++ b/armadillo.spec @@ -18,7 +18,7 @@ %define soname libarmadillo10 Name: armadillo -Version: 10.1.1 +Version: 10.1.2 Release: 0 Summary: C++ matrix library with interfaces to LAPACK and ATLAS License: Apache-2.0 @@ -100,7 +100,7 @@ sed -i 's/\r$//' NOTICE.txt for i in `ls examples/*.cpp`; do sed -i 's/\r$//' $i; done %build -%cmake +%cmake -DBUILD_SMOKE_TEST:BOOL=ON %cmake_build %install @@ -110,6 +110,10 @@ rm -rf examples/example1_win64.* rm -rf examples/example2_win64.* rm -rf examples/lib_win64 +%check +export LD_LIBRARY_PATH=%{buildroot}%{_libdir} +%ctest + %post -n %{soname} -p /sbin/ldconfig %postun -n %{soname} -p /sbin/ldconfig