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/tarantool] rawhide: Fix build with latest cmake and gcc
Date: Sun, 14 Jun 2026 20:37:59 GMT [thread overview]
Message-ID: <178146947978.1.67558760669356872.rpms-tarantool-693597837ab2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/tarantool
Branch : rawhide
Commit : 693597837ab2712b53629a4b8093fe416250f458
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date : 2026-06-14T16:37:32-04:00
Stats : +6/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/tarantool/c/693597837ab2712b53629a4b8093fe416250f458?branch=rawhide
Log:
Fix build with latest cmake and gcc
---
diff --git a/tarantool.spec b/tarantool.spec
index bddfb56..09d02f1 100644
--- a/tarantool.spec
+++ b/tarantool.spec
@@ -1,3 +1,8 @@
+# not compatible with Ninja
+%global _cmake_generator "Unix Makefiles"
+# code not compatible with latest C standard
+%global _pkg_extra_cflags -std=gnu11
+
BuildRequires: cmake >= 2.8
BuildRequires: gcc >= 4.5
BuildRequires: gcc-c++ >= 4.5
@@ -78,6 +83,7 @@ u tarantool - 'Tarantool Server' /var/lib/tarantool -
EOF
%build
+export CMAKE_POLICY_VERSION_MINIMUM=3.5
# RHBZ #1301720: SYSCONFDIR an LOCALSTATEDIR must be specified explicitly
%cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_LOCALSTATEDIR:PATH=%{_localstatedir} \
reply other threads:[~2026-06-14 20:37 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=178146947978.1.67558760669356872.rpms-tarantool-693597837ab2@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