From 8af033c6ce39bf9e074805024fd8dffe1af54e372c3bd3e6ce9eb4de75cae867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sun, 8 Dec 2019 20:18:38 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/science/ade?expand=0&rev=7 --- ade.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ade.spec b/ade.spec index 493bb7a..555f0fb 100644 --- a/ade.spec +++ b/ade.spec @@ -28,7 +28,7 @@ Release: 0 Summary: Graph construction, manipulation, and processing framework License: Apache-2.0 Group: Development/Libraries/C and C++ -Url: http://opencv.org/ +URL: https://opencv.org/ Source0: https://github.com/opencv/ade/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: c++_compiler BuildRequires: cmake > 3.2 From 902f8a7eaa85d41fd81351bfdf1d912ce5284209dcba38f8fea4e8a72f45e710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 19 Jan 2022 12:38:42 +0000 Subject: [PATCH 2/2] Accepting request 945881 from home:alarrosa:branches:science - Don't leave an empty %check section if building without tests * Fixed warning which happens with old compilers (which are still supported in OpenCV) - Update to version 0.1.1e * Bugfix: Make size() method to return size_t value - Initial package version 0.1.1d OBS-URL: https://build.opensuse.org/request/show/945881 OBS-URL: https://build.opensuse.org/package/show/science/ade?expand=0&rev=8 --- ade.changes | 11 ++++++++++- ade.spec | 5 ++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ade.changes b/ade.changes index 9652eb4..7beb108 100644 --- a/ade.changes +++ b/ade.changes @@ -1,7 +1,16 @@ +------------------------------------------------------------------- +Wed Jan 12 15:45:28 UTC 2022 - Antonio Larrosa + +- Don't leave an empty %check section if building without tests + ------------------------------------------------------------------- Tue Sep 10 18:55:12 UTC 2019 - Stefan Brüns - Update to version 0.1.1f + * Fixed warning which happens with old compilers + (which are still supported in OpenCV) +- Update to version 0.1.1e + * Bugfix: Make size() method to return size_t value - Drop upstream Silence_redundant-move_warning.patch - Use -ffat-lto-objects to provide a proper static library. - Run tests by default @@ -14,4 +23,4 @@ Mon Aug 26 09:24:28 UTC 2019 - Jan Engelhardt ------------------------------------------------------------------- Tue Jul 2 21:27:53 UTC 2019 - Stefan Brüns -- Initial package version +- Initial package version 0.1.1d diff --git a/ade.spec b/ade.spec index 555f0fb..a12a192 100644 --- a/ade.spec +++ b/ade.spec @@ -1,7 +1,7 @@ # # spec file for package ade # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -62,7 +62,6 @@ sed -i -e 's@ DESTINATION lib@ DESTINATION ${CMAKE_INSTALL_LIBDIR}@' sources/ade %{?with_docs:-DBUILD_ADE_DOCUMENTATION=ON} \ %{?with_tests:-DGTEST_ROOT:PATH=%{_prefix} -DENABLE_ADE_TESTING=ON} \ - %cmake_build %install @@ -71,8 +70,8 @@ sed -i -e 's@ DESTINATION lib@ DESTINATION ${CMAKE_INSTALL_LIBDIR}@' sources/ade rm %{buildroot}%{_bindir}/ade-tests %endif -%check %if %{with tests} +%check %ctest %endif