fix cmake invocation and FTBFS

This commit is contained in:
Remi Collet 2019-02-04 10:36:33 +01:00
parent 054aec5cd0
commit ae6386bf34
1 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Fedora spec file for librabbitmq
#
# Copyright (c) 2012-2018 Remi Collet
# Copyright (c) 2012-2019 Remi Collet
# License: CC-BY-SA
# http://creativecommons.org/licenses/by-sa/4.0/
#
@ -75,7 +75,8 @@ sed -e '/test_basic/d' -i tests/CMakeLists.txt
# static lib required for tests
%cmake \
-DBUILD_TOOLS_DOCS:BOOL=ON \
-DBUILD_STATIC_LIBS:BOOL=ON
-DBUILD_STATIC_LIBS:BOOL=ON \
.
make %{_smp_mflags}
@ -113,6 +114,9 @@ make test
%changelog
* Mon Feb 4 2019 Remi Collet <remi@remirepo.net> - 0.9.0-3
- fix cmake invocation and FTBFS
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild