public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/srpc] rawhide: Fix build with CMake 4.0 and Ninja generator
@ 2026-06-14 20:42 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-14 20:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/srpc
Branch : rawhide
Commit : fb8a09cd00b5a5f203b3ebaca402e0995dae0555
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-06-14T16:41:34-04:00
Stats  : +2/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/srpc/c/fb8a09cd00b5a5f203b3ebaca402e0995dae0555?branch=rawhide

Log:
Fix build with CMake 4.0 and Ninja generator

---
diff --git a/srpc.spec b/srpc.spec
index 2097981..1d2b59d 100644
--- a/srpc.spec
+++ b/srpc.spec
@@ -40,6 +40,7 @@ Requires:       %{name}%{?_isa} = %{version}-%{release}
 %autosetup -p1
 
 %build
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
 %cmake
 %cmake_build
 
@@ -51,9 +52,7 @@ rm %{buildroot}/%{_libdir}/libsrpc.a
 rm %{buildroot}/%{_docdir}/%{name}-%{version}/README.md
 
 %check
-# change build directory
-sed -i "s/DEFAULT_BUILD_DIR := build.cmake/DEFAULT_BUILD_DIR := %__cmake_builddir/g"  GNUmakefile
-make check
+%ctest
 
 %files 
 %license LICENSE

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-14 20:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 20:42 [rpms/srpc] rawhide: Fix build with CMake 4.0 and Ninja generator Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox