fix scripts
This commit is contained in:
parent
e91e7a4fad
commit
796daa7875
18
eog.spec
18
eog.spec
@ -13,7 +13,7 @@
|
|||||||
Summary: Eye of GNOME image viewer
|
Summary: Eye of GNOME image viewer
|
||||||
Name: eog
|
Name: eog
|
||||||
Version: 2.16.0.1
|
Version: 2.16.0.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
Source: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/eog/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/eog/%{name}-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -41,7 +41,7 @@ BuildRequires: libXt-devel
|
|||||||
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
|
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
|
||||||
Requires(post): scrollkeeper
|
Requires(post): scrollkeeper
|
||||||
Requires(post): GConf2
|
Requires(post): GConf2
|
||||||
|
Requires(pre): GConf2
|
||||||
Requires(preun): GConf2
|
Requires(preun): GConf2
|
||||||
|
|
||||||
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
|
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
|
||||||
@ -81,13 +81,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
update-desktop-database -q
|
update-desktop-database -q
|
||||||
scrollkeeper-update -q
|
scrollkeeper-update -q
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null || :
|
||||||
|
|
||||||
|
%pre
|
||||||
|
if [ "$1" -gt 1 ]; then
|
||||||
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
gconftool-2 --makefile-uninstall-rule \
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null || :
|
||||||
%{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
@ -106,6 +111,9 @@ scrollkeeper-update -q
|
|||||||
%{_sysconfdir}/gconf/schemas/*.schemas
|
%{_sysconfdir}/gconf/schemas/*.schemas
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 18 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-3
|
||||||
|
- Fix scripts according to the packaging guidelines
|
||||||
|
|
||||||
* Thu Sep 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-2.fc6
|
* Thu Sep 7 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0.1-2.fc6
|
||||||
- Fix some directory ownership issues
|
- Fix some directory ownership issues
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user