[libmate] update post and postun scriptlets

Dan Mashal vicodan at fedoraproject.org
Sun Sep 16 04:08:24 UTC 2012


commit 1da0ca3d66bdb8b8580222a3c641b342bec76ee3
Author: Dan Mashal <dan.mashal at fedoraproject.org>
Date:   Sat Sep 15 21:08:04 2012 -0700

    update post and postun scriptlets

 libmate.spec |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/libmate.spec b/libmate.spec
index 5ec9ad0..688d753 100644
--- a/libmate.spec
+++ b/libmate.spec
@@ -1,7 +1,7 @@
 Summary:	MATE Desktop base libraries
 Name:	libmate
 Version:	1.4.0
-Release:	7%{?dist}
+Release:	8%{?dist}
 URL:		http://mate-desktop.org
 Source0:	http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz
 License:	GPLv2+ and LGPLv2+
@@ -30,16 +30,9 @@ NOCONFIGURE=1 ./autogen.sh
 %configure -disable-static --disable-schemas-install --disable-esd
 make %{?_smp_mflags}
 
-%install
-export MATECONF_DISABLE_MAKE_FILE_SCHEMA INSTALL=1
-make LIBTOOL="/usr/bin/libtool" DESTDIR=%{buildroot} install
-%find_lang %{name}
-find %{buildroot} -name '*.la' -exec rm -rf {} ';'
-find %{buildroot} -name '*.a' -exec rm -rf {} ';'
-
 %post
 /sbin/ldconfig
-%mateconf_schema_prepare desktop_mate_accessibility_keyboard 
+%mateconf_schema_prepare desktop_mate_accessibility_keyboard
 %mateconf_schema_prepare desktop_mate_accessibility_startup
 %mateconf_schema_prepare desktop_mate_applications_at_mobility
 %mateconf_schema_prepare desktop_mate_aplications_at_visual
@@ -101,6 +94,14 @@ find %{buildroot} -name '*.a' -exec rm -rf {} ';'
 %mateconf_schema_remove desktop_mate_thumbnailers
 %mateconf_schema_remove desktop_mate_typingbreak
 
+
+%install
+export MATECONF_DISABLE_MAKE_FILE_SCHEMA INSTALL=1
+make LIBTOOL="/usr/bin/libtool" DESTDIR=%{buildroot} install
+%find_lang %{name}
+find %{buildroot} -name '*.la' -exec rm -rf {} ';'
+find %{buildroot} -name '*.a' -exec rm -rf {} ';'
+
 %files -f %{name}.lang
 %doc AUTHORS README
 %{_mandir}/man7/*
@@ -138,6 +139,9 @@ find %{buildroot} -name '*.a' -exec rm -rf {} ';'
 %{_libdir}/matecomponent/monikers/libmoniker_extra_2.so
 
 %changelog
+* Sat Sep 15 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-8
+- Move post and postun scriptlets to run before install scriptlet
+
 * Mon Sep 10 2012 Dan Mashal <dan.mashal at fedoraproject.org> 1.4.0-7
 - Fix macro to remove static files and bump release version to rebuild
 


More information about the scm-commits mailing list