[xulrunner/f15: 1/2] * Tue Oct 18 2011 Ville Skyttä <ville.skytta at iki.fi> - 7.0.1-5 - Avoid %%post/un shell invocation

Martin Stransky stransky at fedoraproject.org
Tue Oct 18 09:20:49 UTC 2011


commit 18802c4c16918b51a0008544d6aea1a74da0c2ca
Author: Martin Stransky <stransky at anakreon.cz>
Date:   Tue Oct 18 11:20:02 2011 +0200

    * Tue Oct 18 2011 Ville Skyttä <ville.skytta at iki.fi> - 7.0.1-5
    - Avoid %%post/un shell invocations
      and dependencies (rhbz#736830).

 xulrunner.spec |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/xulrunner.spec b/xulrunner.spec
index 64648f2..f2aa840 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -50,7 +50,7 @@
 Summary:        XUL Runtime for Gecko Applications
 Name:           xulrunner
 Version:        7.0.1
-Release:        4%{?pre_tag}%{?dist}
+Release:        5%{?pre_tag}%{?dist}
 URL:            http://developer.mozilla.org/En/XULRunner
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -396,11 +396,9 @@ touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
 
 #---------------------------------------------------------------------
 
-%post
-/sbin/ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-/sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %preun
 # is it a final removal?
@@ -454,6 +452,10 @@ fi
 #---------------------------------------------------------------------
 
 %changelog
+* Tue Oct 18 2011 Ville Skyttä <ville.skytta at iki.fi> - 7.0.1-5
+- Avoid %%post/un shell invocations 
+  and dependencies (rhbz#736830).
+
 * Tue Oct 18 2011 Martin Stransky <stransky at redhat.com> 7.0.1-4
 - Updated cairo dependency (rhbz#742853)
 


More information about the scm-commits mailing list