]> git.pld-linux.org Git - packages/criterion.git/blobdiff - criterion.spec
BR: protobuf for protoc
[packages/criterion.git] / criterion.spec
index e551d5001d3fd1575db7cca1733c0f4fbc8bdfa4..3c5c79c88e31ba2f2fdfb7c7f74cad3d6b8b6bb6 100644 (file)
@@ -1,32 +1,35 @@
 # TODO:
 # - system boxfort (when released): https://github.com/diacritic/BoxFort
-# - system nanopb (0.4.5 bundled)
+# - system nanopb (0.4.7 bundled)
 # - system libcsptr (when some post-2017 release made): https://github.com/Snaipe/libcsptr
 #
 # Conditional build:
-%bcond_without tests           # build without tests
-%bcond_with    system_nanopb   # system nanopb (tests fail with nanopb 0.4.7)
+%bcond_without tests           # testing
+%bcond_without system_nanopb   # system nanopb
 #
 Summary:       A cross-platform C and C++ unit testing framework for the 21th century
 Summary(pl.UTF-8):     Wieloplatformowy szkielet do testów jednostkowych dla C i C++ w XXI wieku
 Name:          criterion
-Version:       2.4.1
+Version:       2.4.2
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
 #Source0Download: https://github.com/Snaipe/Criterion/releases
 Source0:       https://github.com/Snaipe/Criterion/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 93e91812837a68524d76339409ed2008
+# Source0-md5: 20affc64bb0d00953826eba4c93bf8ab
 Patch0:                x32.patch
 Patch1:                %{name}-shared-nanopb.patch
 URL:           https://github.com/Snaipe/Criterion
+%{?with_system_nanopb:BuildRequires:   cmake}
 BuildRequires: dyncall >= 1.0
 BuildRequires: libffi-devel
 BuildRequires: libgit2-devel
-BuildRequires: meson >= 0.51.0
+BuildRequires: meson >= 0.55.0
 BuildRequires: nanomsg-devel >= 1.0.0
-%{?with_system_nanopb:BuildRequires:   nanopb-devel >= 0.4.5}
+%{?with_system_nanopb:BuildRequires:   nanopb-devel >= 0.4.7}
 BuildRequires: ninja
+BuildRequires: pkgconfig
+BuildRequires: protobuf
 BuildRequires: rpmbuild(macros) >= 1.736
 BuildRequires: sed >= 4.0
 BuildRequires: tar >= 1:1.22
@@ -76,7 +79,6 @@ Statyczne biblioteki criterion.
 
 %build
 %meson build \
-       --default-library=shared \
        -Dtests=%{__true_false tests}
 
 %ninja_build -C build
This page took 0.045795 seconds and 4 git commands to generate.