public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tarantool] rawhide: Fix build with latest cmake and gcc
@ 2026-06-14 20:37 Yaakov Selkowitz
0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-14 20:37 UTC (permalink / raw)
To: git-commits
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} \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-14 20:37 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:37 [rpms/tarantool] rawhide: Fix build with latest cmake and gcc Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox