public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Add file triggers
@ 2026-08-11 10:35 Matthias Clasen
  0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-08-11 10:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 6755798d127f61c66fbf326c8f5edf900acf5d0b
Author : Matthias Clasen <mclasen@redhat.com>
Date   : 2015-08-14T11:55:58-04:00
Stats  : +15/-7 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/glib2/c/6755798d127f61c66fbf326c8f5edf900acf5d0b?branch=cve-2026-58016-f44

Log:
Add file triggers

---
diff --git a/glib2.spec b/glib2.spec
index c60c7e1..43ebbba 100644
--- a/glib2.spec
+++ b/glib2.spec
@@ -3,7 +3,7 @@
 Summary: A library of handy utility functions
 Name: glib2
 Version: 2.45.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -126,16 +126,21 @@ chmod 644 $RPM_BUILD_ROOT%{_datadir}/bash-completion/completions/*
 %find_lang glib20
 
 
-%post
-/sbin/ldconfig
-gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
+%transfiletriggerin -- %{_libdir}/gio/modules
+gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 
-%postun
-/sbin/ldconfig
-[ ! -x %{_bindir}/gio-querymodules-%{__isa_bits} ] || \
+%transfiletriggerpostun -- %{_libdir}/gio/modules
 gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 
+%transfiletriggerin -- %{_datadir}/glib-2.0/schemas
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
+
+%transfiletriggerpostun -- %{_datadir}/glib-2.0/schemas
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
 %files -f glib20.lang
 %{!?_licensedir:%global license %%doc}
@@ -218,6 +223,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules
 %{_datadir}/installed-tests
 
 %changelog
+* Fri Aug 14 2015 Matthias Clasen <mclasen@redhat.com> - 2.45.4-2
+- Add file triggers for gio modules and gsettings schemas
+
 * Tue Jul 21 2015 David King <amigadave@amigadave.com> - 2.45.4-1
 - Update to 2.45.4
 

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

only message in thread, other threads:[~2026-08-11 10:35 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:35 [rpms/glib2] cve-2026-58016-f44: Add file triggers Matthias Clasen

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