public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/bup] f45: Use %{extension_cflags} to specify the C compiler flags
Date: Fri, 23 Oct 2026 00:35:47 GMT	[thread overview]
Message-ID: <179271574718.1.9703485373256231633.rpms-bup-e960755aa88e@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/bup
Branch : f45
Commit : e960755aa88e1dcf84463faa66c9806a3508b54a
Author : Tadej Janež <tadej.j@nez.si>
Date   : 2019-02-06T22:02:45+01:00
Stats  : +6/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/bup/c/e960755aa88e1dcf84463faa66c9806a3508b54a?branch=f45

Log:
Use %{extension_cflags} to specify the C compiler flags

---
diff --git a/bup.spec b/bup.spec
index 5fc17ee..4068fa3 100644
--- a/bup.spec
+++ b/bup.spec
@@ -17,7 +17,7 @@ EOF
 
 Name: bup
 Version: %{gittag}
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Very efficient backup system based on the git packfile format
 
 # all of the code is licensed as GNU Lesser General Public License v2, except:
@@ -126,7 +126,7 @@ rm -r .git/
 # which is executed during the execution of the make command.
 # To configure the build process, we need to pass variables to the make
 # command.
-%make_build CFLAGS="${CFLAGS:-%optflags}"
+%make_build CFLAGS="%{extension_cflags}"
 
 %render_template %{SOURCE1} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE1}
 %render_template %{SOURCE3} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE3}
@@ -200,6 +200,10 @@ install -p -m 0644 note/*.md %{buildroot}%{_pkgdocdir}
 
 
 %changelog
+* Wed Feb 06 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-2
+* Use %%{extension_cflags} to specify the C compiler flags (i.e. CFLAGS) to
+  account for https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
+
 * Fri Feb 01 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-1
 - Update to version 0.29.2
 - Remove obsolete patches

                 reply	other threads:[~2026-10-23  0:35 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=179271574718.1.9703485373256231633.rpms-bup-e960755aa88e@fedoraproject.org \
    --to=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