public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnucobol] epel8: Drop el7 bits, fix FTBFS
@ 2026-08-27 19:34 Gwyn Ciesla
0 siblings, 0 replies; only message in thread
From: Gwyn Ciesla @ 2026-08-27 19:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/gnucobol
Branch : epel8
Commit : 573643bfce08949dd693b3693d33c0b355c0a3be
Author : Gwyn Ciesla <gwync@protonmail.com>
Date : 2025-01-29T11:58:58-06:00
Stats : +1/-9 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gnucobol/c/573643bfce08949dd693b3693d33c0b355c0a3be?branch=epel8
Log:
Drop el7 bits, fix FTBFS
---
diff --git a/gnucobol.spec b/gnucobol.spec
index 957d8bb..9063718 100644
--- a/gnucobol.spec
+++ b/gnucobol.spec
@@ -26,11 +26,7 @@ BuildRequires: gettext
BuildRequires: gnupg2
BuildRequires: perl-interpreter
BuildRequires: libxml2-devel
-%if 0%{?el7}
-BuildRequires: json-c12-devel
-%else
BuildRequires: json-c-devel
-%endif
BuildRequires: make
# esql
BuildRequires: unixODBC-devel
@@ -68,12 +64,8 @@ ESQL for GnuCOBOL
cp %{SOURCE3} tests/cobol85/
%build
-%if 0%{?el7}
-%configure --enable-hardening --with-db --with-xml2 --with-curses=ncursesw --with-json=json-c \
- JSON_C_LIBS=$(pkg-config --libs json-c12) JSON_C_CFLAGS=$(pkg-config --cflags json-c12)
-%else
+export CFLAGS="$CFLAGS -std=gnu17"
%configure --enable-hardening --with-db --with-xml2 --with-curses=ncursesw --with-json=json-c
-%endif
%make_build
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-27 19:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27 19:34 [rpms/gnucobol] epel8: Drop el7 bits, fix FTBFS Gwyn Ciesla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox