[packages/corrosion] - updated macros for cmake
qboosh
qboosh at pld-linux.org
Sat Sep 12 18:34:06 CEST 2026
commit 1136c05d02a795352d1dc63337bda3caf196e433
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Sep 12 18:34:08 2026 +0200
- updated macros for cmake
corrosion.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/corrosion.spec b/corrosion.spec
index f9cbc0a..980d0de 100644
--- a/corrosion.spec
+++ b/corrosion.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_with tests # build with tests
+%bcond_with tests # test suite
Summary: Integrate Rust into CMake projects
Summary(pl.UTF-8): Integracja Rusta w projektach CMake'a
@@ -15,7 +15,7 @@ Patch0: Modules.patch
URL: https://github.com/corrosion-rs/corrosion
BuildRequires: cmake >= 3.22
BuildRequires: ninja
-BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: rpmbuild(macros) >= 1.605
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,7 +37,8 @@ integracji Rusta z istniejącymi projektami CMake'a.
%build
%cmake -B build \
-G Ninja \
- %{!?with_tests:-DBUILD_TESTING=OFF}
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ %{!?with_tests:-DCORROSION_BUILD_TESTS=OFF}
%ninja_build -C build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/corrosion.git/commitdiff/1136c05d02a795352d1dc63337bda3caf196e433
More information about the pld-cvs-commit
mailing list