[mate-window-manager/f17] Move post and postun scriptlets to proper location in specfile
Dan Mashal
vicodan at fedoraproject.org
Sun Sep 16 04:13:08 UTC 2012
commit 3ba74c8b5e89962e840c161a1e8af7f0868e3a02
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date: Sat Sep 15 21:12:43 2012 -0700
Move post and postun scriptlets to proper location in specfile
mate-window-manager.spec | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/mate-window-manager.spec b/mate-window-manager.spec
index 5699607..4744117 100644
--- a/mate-window-manager.spec
+++ b/mate-window-manager.spec
@@ -1,6 +1,6 @@
Name: mate-window-manager
Version: 1.4.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: MATE Desktop window manager
License: LGPLv2+ and GPLv2+
URL: http://mate-desktop.org
@@ -13,8 +13,8 @@ Requires(pre): mate-conf
Requires(post): mate-conf
Requires(preun): mate-conf
-Obsoletes: mate-window-manager < 1.4.1-4
-Obsoletes: mate-window-manager-devel < 1.4.1-4
+Obsoletes: mate-window-manager < 1.4.1-6
+Obsoletes: mate-window-manager-devel < 1.4.1-6
Obsoletes: mate-window-manager-libs < 1.4.1-2
%description
@@ -36,6 +36,14 @@ NOCONFIGURE=1 ./autogen.sh
%configure --disable-static --disable-schemas-install
make %{?_smp_mflags} V=1
+%post
+/sbin/ldconfig
+%mateconf_schema_prepare marco
+%mateconf_schema_upgrade marco
+
+
+%postun
+%mateconf_schema_remove marco
%install
export MATECONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
@@ -64,16 +72,6 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/marco.desktop
desktop-file-validate %{buildroot}%{_datadir}/mate/wm-properties/marco-wm.desktop
-%post
-/sbin/ldconfig
-%mateconf_schema_prepare marco
-%mateconf_schema_upgrade marco
-
-
-%postun
-%mateconf_schema_remove marco
-
-
%files -f %{name}.lang
%doc AUTHORS COPYING README
%{_mandir}/man1/*
@@ -110,6 +108,9 @@ desktop-file-validate %{buildroot}%{_datadir}/mate/wm-properties/marco-wm.deskto
%changelog
+* Sat Sep 15 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.1-6
+- Move post and postun scriptlets to proper location
+
* Sat Sep 15 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.1-5
- Remove onlyshowin since it is not needed any more with updated desktop-file-utils
More information about the scm-commits
mailing list