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/gnome-user-share] wip/oholy/f45-update: compile schemas after installing the package
Date: Wed, 24 Jun 2026 11:34:37 GMT	[thread overview]
Message-ID: <178230087737.1.3686292193261932708.rpms-gnome-user-share-9e56f9c4be73@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-06-24 11:34 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=178230087737.1.3686292193261932708.rpms-gnome-user-share-9e56f9c4be73@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