public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Use Python 3 for the RPM Python byte compilation
Date: Tue, 11 Aug 2026 10:36:08 GMT	[thread overview]
Message-ID: <178644456826.1.4412823649554469738.rpms-glib2-95c4ff00c9f7@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 95c4ff00c9f71c5a6de49860b30727dbdf217bfc
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2016-08-16T13:40:19+02:00
Stats  : +11/-3 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/95c4ff00c9f71c5a6de49860b30727dbdf217bfc?branch=cve-2026-58016-f44

Log:
Use Python 3 for the RPM Python byte compilation

---
diff --git a/glib2.spec b/glib2.spec
index d33235f..0cf4bd1 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -1,10 +1,13 @@
 %global _changelog_trimtime %(date +%s -d "1 year ago")
 
+# See https://fedoraproject.org/wiki/Packaging:Python_Appendix#Manual_byte_compilation
+%global __python %{__python3}
+
 Summary: A library of handy utility functions
 Name: glib2
 # git snapshot to work around https://bugzilla.gnome.org/show_bug.cgi?id=762637
 Version: 2.49.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -208,8 +211,10 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
 %{_mandir}/man1/gdbus-codegen.1*
 %{_mandir}/man1/glib-compile-resources.1*
 %{_mandir}/man1/gresource.1*
-%{_datadir}/gdb/auto-load%{_libdir}/libglib-2.0.so.*-gdb.py*
-%{_datadir}/gdb/auto-load%{_libdir}/libgobject-2.0.so.*-gdb.py*
+%{_datadir}/gdb/auto-load%{_libdir}/libglib-2.0.so.*-gdb.py
+%{_datadir}/gdb/auto-load%{_libdir}/libgobject-2.0.so.*-gdb.py
+# Let's own the directory, as it was not there
+%{_datadir}/gdb/auto-load%{_libdir}/__pycache__
 %{_datadir}/gettext/
 %{_datadir}/systemtap/tapset/*.stp
 
@@ -231,6 +236,9 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
 %{_datadir}/installed-tests
 
 %changelog
+* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 2.49.4-3
+- Use Python 3 for the RPM Python byte compilation
+
 * Wed Jul 27 2016 Ville Skyttä <ville.skytta@iki.fi> - 2.49.4-2
 - Switch to Python 3 (#1286284)
 

                 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=178644456826.1.4412823649554469738.rpms-glib2-95c4ff00c9f7@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