public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-user-share] wip/oholy/f45-update: compile schemas after installing the package
@ 2026-06-24 11:34 Matthias Clasen
  0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-06-24 11:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : 9e56f9c4be739b49e5380dd6c22d1a59a7ed0e1d
Author : Matthias Clasen <mclasen@redhat.com>
Date   : 2012-11-28T08:07:51-05:00
Stats  : +7/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/gnome-user-share/c/9e56f9c4be739b49e5380dd6c22d1a59a7ed0e1d?branch=wip/oholy/f45-update

Log:
compile schemas after installing the package

---
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index 424494d..184a7e8 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -1,7 +1,7 @@
 Summary: Gnome user file sharing
 Name: gnome-user-share
 Version: 3.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://www.gnome.org
@@ -68,9 +68,6 @@ desktop-file-install --vendor gnome --delete-original                   \
 %post
 touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
 
-%preun
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-
 %postun
 if [ $1 -eq 0 ]; then
   touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
@@ -80,6 +77,8 @@ fi
 
 %posttrans
 gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor >&/dev/null || :
+glib-compile-schemas %{_datadir}/glib-2.0/schemas
+
 
 %files -f gnome-user-share.lang
 %doc README COPYING NEWS
@@ -94,6 +93,10 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor >&/dev/null || :
 %{_datadir}/GConf/gsettings/gnome-user-share.convert
 
 %changelog
+* Wed Nov 28 2012 Matthias Clasen <mclasen@redhat.com> 3.0.4-2
+- Compile schemas after installing the package, not before
+  uninstalling it. Should fix some crashes (#877796)
+
 * Wed Sep 26 2012 Kalev Lember <kalevlember@gmail.com> 3.0.4-1
 - Update to 3.0.4
 

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

only message in thread, other threads:[~2026-06-24 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 11:34 [rpms/gnome-user-share] wip/oholy/f45-update: compile schemas after installing the package Matthias Clasen

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