public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gwyn Ciesla <gwync@protonmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/gnucobol] epel9: Drop el7 bits, fix FTBFS
Date: Thu, 27 Aug 2026 19:34:13 GMT	[thread overview]
Message-ID: <178785925371.1.13389613742382648757.rpms-gnucobol-573643bfce08@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/gnucobol
Branch : epel9
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=epel9

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
 

                 reply	other threads:[~2026-08-27 19:34 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=178785925371.1.13389613742382648757.rpms-gnucobol-573643bfce08@fedoraproject.org \
    --to=gwync@protonmail.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