public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Carl George <carlwgeorge@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/tinyproxy] epel10: Fix debug handling
Date: Thu, 18 Jun 2026 21:53:06 GMT [thread overview]
Message-ID: <178181958608.1.16689430454407213815.rpms-tinyproxy-7d4e172d420d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/tinyproxy
Branch : epel10
Commit : 7d4e172d420de6b8ba3a786c2bb2a45f57e973a0
Author : Carl George <carlwgeorge@gmail.com>
Date : 2026-06-18T15:47:33-05:00
Stats : +4/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/tinyproxy/c/7d4e172d420de6b8ba3a786c2bb2a45f57e973a0?branch=epel10
Log:
Fix debug handling
Debug is off by default in the source code, but for some reason that
doesn't work on el8. We need some kind of override there, but turns out
_distro_extra_cflags wasn't added until f38/el10 so we can't use that.
Extending optflags in-place is the easiest approach.
---
diff --git a/tinyproxy.spec b/tinyproxy.spec
index 03e806d..9cfac95 100644
--- a/tinyproxy.spec
+++ b/tinyproxy.spec
@@ -1,5 +1,8 @@
# must be set to avoid noisy memory debug logging rhbz#1011783
-%global _distro_extra_cflags -DNDEBUG
+# normally set by default, but doesn't work correctly in el8
+%if %{defined el8}
+%global optflags %{optflags} -DNDEBUG
+%endif
Name: tinyproxy
Version: 1.11.2
reply other threads:[~2026-06-18 21:53 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=178181958608.1.16689430454407213815.rpms-tinyproxy-7d4e172d420d@fedoraproject.org \
--to=carlwgeorge@gmail.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