public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Matthias Clasen <mclasen@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/gnome-user-share] wip/oholy/f45-update: fix build
Date: Wed, 24 Jun 2026 11:34:23 GMT [thread overview]
Message-ID: <178230086317.1.3413302574916810806.rpms-gnome-user-share-4850cd60ccfd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : 4850cd60ccfd97e148d558e5bf73735d7bd0e98d
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date : 2010-02-14T06:11:27+00:00
Stats : +13/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/gnome-user-share/c/4850cd60ccfd97e148d558e5bf73735d7bd0e98d?branch=wip/oholy/f45-update
Log:
fix build
---
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index f7f85c6..11e51e7 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: 2.28.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.gnome.org
@@ -35,9 +35,8 @@ BuildRequires: libnotify-devel
BuildRequires: nautilus-devel
BuildRequires: gettext
BuildRequires: perl(XML::Parser) intltool
+BuildRequires: scrollkeeper
Requires(post): GConf2
-Requires(post): scrollkeeper
-Requires(postun): scrollkeeper
Requires(pre): GConf2
Requires(preun): GConf2
@@ -105,12 +104,9 @@ done
rm -rf $RPM_BUILD_ROOT
%post
-scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/desktop_gnome_file_sharing.schemas > /dev/null || :
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
-fi
+touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%pre
if [ "$1" -gt 1 ]; then
@@ -125,11 +121,14 @@ if [ "$1" -eq 0 ]; then
fi
%postun
-scrollkeeper-update -q
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
+if [ $1 -eq 0 ]; then
+ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
+ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor >&/dev/null || :
fi
+%posttrans
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor >&/dev/null || :
+
%files -f gnome-user-share.lang
%defattr(-,root,root,-)
%doc README COPYING NEWS AUTHORS
@@ -143,6 +142,10 @@ fi
%{_libdir}/nautilus/extensions-2.0/*.so
%changelog
+* Sun Feb 14 2010 Matthias Clasen <mclasen@redhat.com> 2.28.1-4
+- Modernize scripts
+- Fix build
+
* Tue Nov 10 2009 Bastien Nocera <bnocera@redhat.com> 2.28.1-3
- Fix crasher on exit when ObexFTP isn't started (#533977)
next reply other threads:[~2026-06-24 11:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 11:34 Matthias Clasen [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-24 11:34 [rpms/gnome-user-share] wip/oholy/f45-update: Fix build Bastien Nocera
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=178230086317.1.3413302574916810806.rpms-gnome-user-share-4850cd60ccfd@fedoraproject.org \
--to=mclasen@fedoraproject.org \
--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