public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/glib2] cve-2026-58016-f44: Add file triggers
Date: Tue, 11 Aug 2026 10:35:54 GMT	[thread overview]
Message-ID: <178644455477.1.16105448650058693259.rpms-glib2-6755798d127f@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-11 10: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=178644455477.1.16105448650058693259.rpms-glib2-6755798d127f@fedoraproject.org \
    --to=mclasen@redhat.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