Accepting request 947416 from science

OBS-URL: https://build.opensuse.org/request/show/947416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ade?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-01-19 23:12:27 +00:00 committed by Git OBS Bridge
commit 2e3a1defa2
2 changed files with 13 additions and 5 deletions

View File

@ -1,7 +1,16 @@
-------------------------------------------------------------------
Wed Jan 12 15:45:28 UTC 2022 - Antonio Larrosa <alarrosa@suse.com>
- Don't leave an empty %check section if building without tests
-------------------------------------------------------------------
Tue Sep 10 18:55:12 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- 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 <jengelh@inai.de>
-------------------------------------------------------------------
Tue Jul 2 21:27:53 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Initial package version
- Initial package version 0.1.1d

View File

@ -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
@ -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
@ -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