public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: David King <amigadave@amigadave.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Consistently use buildroot macro
Date: Tue, 11 Aug 2026 10:36:49 GMT	[thread overview]
Message-ID: <178644460989.1.10939717110092082279.rpms-glib2-f45e5da63202@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/glib2
            Branch : cve-2026-58016-f44
            Commit : f45e5da632021f9b772fa925fd700bfce867d713
            Author : David King <amigadave@amigadave.com>
            Date   : 2019-06-11T09:06:50+01:00
            Stats  : +6/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/glib2/c/f45e5da632021f9b772fa925fd700bfce867d713?branch=cve-2026-58016-f44

            Log:
            Consistently use buildroot macro

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_using_buildroot_and_optflags_vs_rpm_build_root_and_rpm_opt_flags

---
diff --git a/glib2.spec b/glib2.spec
index 5ad76d7..246fa6c 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -105,8 +105,8 @@ rm glib/pcre/*.[ch]
 # better reproducibility.
 # Also copy the timestamp for other .py files, because meson doesn't
 # do this, see https://github.com/mesonbuild/meson/issues/5027.
-touch -r gio/gdbus-2.0/codegen/config.py.in $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/codegen/*.py
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
+touch -r gio/gdbus-2.0/codegen/config.py.in %{buildroot}%{_datadir}/glib-2.0/codegen/*.py
+chrpath --delete %{buildroot}%{_libdir}/*.so
 
 # Perform byte compilation manually to avoid issues with
 # irreproducibility of the default invalidation mode, see
@@ -115,12 +115,12 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so
 export PYTHONHASHSEED=0
 %py_byte_compile %{__python3} %{buildroot}%{_datadir}
 
-mv  $RPM_BUILD_ROOT%{_bindir}/gio-querymodules $RPM_BUILD_ROOT%{_bindir}/gio-querymodules-%{__isa_bits}
+mv  %{buildroot}%{_bindir}/gio-querymodules %{buildroot}%{_bindir}/gio-querymodules-%{__isa_bits}
 
-touch $RPM_BUILD_ROOT%{_libdir}/gio/modules/giomodule.cache
+touch %{buildroot}%{_libdir}/gio/modules/giomodule.cache
 
 # bash-completion scripts need not be executable
-chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
+chmod 644 %{buildroot}%{_datadir}/bash-completion/completions/*
 
 %find_lang glib20
 
@@ -223,6 +223,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 %changelog
 * Tue Jun 11 2019 David King <amigadave@amigadave.com> - 2.61.1-2
 - Fix CVE-2019-12450 (#1719142)
+- Consistently use buildroot macro
 
 * Fri May 24 2019 Kalev Lember <klember@redhat.com> - 2.61.1-1
 - Update to 2.61.1

                 reply	other threads:[~2026-08-11 10:36 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=178644460989.1.10939717110092082279.rpms-glib2-f45e5da63202@fedoraproject.org \
    --to=amigadave@amigadave.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