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

            A new commit has been pushed.

            Repo   : rpms/bup
            Branch : f45
            Commit : d2ea14f13fb034edfef46c4b97b23c6ef3ac5852
            Author : Tadej Janež <tadej.j@nez.si>
            Date   : 2019-02-07T11:56:13+01:00
            Stats  : +9/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/bup/c/d2ea14f13fb034edfef46c4b97b23c6ef3ac5852?branch=f45

            Log:
            Use %{build_cflags} to specify the C compiler flags (i.e. CFLAGS)

This will properly account for
https://fedoraproject.org/wiki/Changes/Python_Extension_Flags.

---
diff --git a/bup.spec b/bup.spec
index 3948efe..edd6c67 100644
--- a/bup.spec
+++ b/bup.spec
@@ -17,7 +17,7 @@ EOF
 
 Name: bup
 Version: %{gittag}
-Release: 2%{?dist}
+Release: 3%{?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:
@@ -124,9 +124,9 @@ rm -r .git/
 
 # NOTE: We can't use %%configure since bup uses a non-standard configure script
 # 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="%{extension_cflags}"
+# To configure the build process, we need to pass environment variables to the
+# make command.
+%make_build CFLAGS="%{build_cflags}"
 
 %render_template %{SOURCE1} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE1}
 %render_template %{SOURCE3} %{_builddir}/%{buildsubdir}/%{basename:%SOURCE3}
@@ -200,6 +200,11 @@ install -p -m 0644 note/*.md %{buildroot}%{_pkgdocdir}
 
 
 %changelog
+* Thu Feb 07 2019 Tadej Janež <tadej.j@nez.si> - 0.29.2-3
+- Use %%{build_cflags} to specify the C compiler flags (i.e. CFLAGS). This
+  will properly account for
+  https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
+
 * 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

                 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=179271574838.1.8444090360716980813.rpms-bup-d2ea14f13fb0@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