[packages/cppzmq] - disable tests (need Catch2, downloaded if not present); release 2
qboosh
qboosh at pld-linux.org
Mon Apr 10 18:41:07 CEST 2023
commit 7d44e832cdd35ae293c9e9f1c623e3012f9ff0ce
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 10 18:43:40 2023 +0200
- disable tests (need Catch2, downloaded if not present); release 2
cppzmq.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/cppzmq.spec b/cppzmq.spec
index d2c62f9..d1cbd43 100644
--- a/cppzmq.spec
+++ b/cppzmq.spec
@@ -2,13 +2,14 @@ Summary: CPP-ZMQ library
Summary(pl.UTF-8): Biblioteka CPP-ZMQ
Name: cppzmq
Version: 4.9.0
-Release: 1
+Release: 2
License: MIT
Group: Development/Libraries
#Source0Download: https://github.com/zeromq/cppzmq/releases
Source0: https://github.com/zeromq/cppzmq/archive/v%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 80f3400f5d6cc48cee0fe1a045d78718
URL: https://github.com/zeromq/cppzmq
+# Catch2 for tests
BuildRequires: cmake >= 3.11
BuildRequires: pkgconfig
BuildRequires: zeromq-devel >= 4
@@ -43,7 +44,8 @@ CPP-ZMQ to interfejs C++ do biblioteki ØMQ.
%build
install -d build
cd build
-%cmake ..
+%cmake .. \
+ -DCPPZMQ_BUILD_TESTS=OFF
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cppzmq.git/commitdiff/7d44e832cdd35ae293c9e9f1c623e3012f9ff0ce
More information about the pld-cvs-commit
mailing list