SHA256
1
0
forked from pool/rttr

Accepting request 712265 from home:luca_b:rttrfix

- Disable tests to allow the package to build under GCC 9

OBS-URL: https://build.opensuse.org/request/show/712265
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/rttr?expand=0&rev=12
This commit is contained in:
Daniel Weatherill 2019-07-05 22:55:07 +00:00 committed by Git OBS Bridge
parent feef25fc48
commit 35afe99349
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 27 14:25:10 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
- Disable tests to allow the package to build under GCC 9
-------------------------------------------------------------------
Tue Jun 4 02:54:17 UTC 2019 - Dan Weatherill <plasteredparrot@gmail.com>

View File

@ -67,7 +67,7 @@ library itself, which is written in C++.
%build
find . -type f -exec chmod a-x "{}" +
dos2unix README.md
%cmake -DBUILD_BENCHMARKS=OFF -DCMAKE_INSTALL_CMAKEDIR=cmake
%cmake -DBUILD_BENCHMARKS=OFF -DCMAKE_INSTALL_CMAKEDIR=cmake -DBUILD_UNIT_TESTS=OFF
#make unit tests pass
export LD_LIBRARY_PATH=%{_builddir}/rttr-%{version}/build/lib/
%make_jobs