Accepting request 1141280 from home:StefanBruens:branches:openSUSE:Factory

- Fix build to cope with changes in (open)SUSE specific cmake
  macros, no user visible changes.

OBS-URL: https://build.opensuse.org/request/show/1141280
OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=47
This commit is contained in:
Martin Pluskal 2024-01-25 07:34:43 +00:00 committed by Git OBS Bridge
parent 348cda82a9
commit 2f2402adfd
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 24 14:38:01 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Fix build to cope with changes in (open)SUSE specific cmake
macros, no user visible changes.
-------------------------------------------------------------------
Mon Dec 05 08:36:46 UTC 2022 - dmueller@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package benchmark
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -71,7 +71,9 @@ sed -e 's|libdir=${prefix}/lib|libdir=${prefix}/%{_lib}|' \
# dont ship debug stuff
rm -rf %{buildroot}%{_libexecdir}/debug
# doc will be installed in different location
# Location differs between TW and SLE/Leap, clear both
rm -rf %{buildroot}%{_datadir}/doc/benchmark
rm -rf %{buildroot}%{_datadir}/doc/packages/benchmark
%check
# path needs to be exported otherwise unit tests will fail