public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Use Python 3 for the RPM Python byte compilation
@ 2026-08-11 10:36 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-08-11 10:36 UTC (permalink / raw)
  To: git-commits

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)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-11 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:36 [rpms/glib2] cve-2026-58016-f44: Use Python 3 for the RPM Python byte compilation 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox