public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/srpc] rawhide: Fix build with CMake 4.0 and Ninja generator
Date: Sun, 14 Jun 2026 20:42:56 GMT [thread overview]
Message-ID: <178146977692.1.2428623623069106598.rpms-srpc-fb8a09cd00b5@fedoraproject.org> (raw)
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
reply other threads:[~2026-06-14 20:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178146977692.1.2428623623069106598.rpms-srpc-fb8a09cd00b5@fedoraproject.org \
--to=yselkowi@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox