SHA256
1
0
forked from pool/ade

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
This commit is contained in:
Matthias Mailänder 2022-01-19 12:38:42 +00:00 committed by Git OBS Bridge
parent 8af033c6ce
commit 902f8a7eaa
2 changed files with 12 additions and 4 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
@ -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