[icedtea-web/f15/master] Use posttrans instead of post
Deepak Bhole
dbhole at fedoraproject.org
Mon Apr 4 18:54:09 UTC 2011
commit d907c361babd9fcb06ec2678821b2cf35c77a7dd
Author: Deepak Bhole <dbhole at redhat.com>
Date: Mon Apr 4 14:53:51 2011 -0400
Use posttrans instead of post
icedtea-web.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/icedtea-web.spec b/icedtea-web.spec
index d24f7bf..bfb8f34 100644
--- a/icedtea-web.spec
+++ b/icedtea-web.spec
@@ -113,7 +113,7 @@ desktop-file-install --vendor ''\
desktop-file-install --vendor ''\
--dir $RPM_BUILD_ROOT%{_datadir}/applications itweb-settings.desktop
-%post
+%posttrans
alternatives --remove %{javaplugin} \
%{javadir}/jre/lib/%{archinstall}/gcjwebplugin.so 2>/dev/null
alternatives --remove %{javaplugin} \
@@ -154,6 +154,7 @@ exit 0
%changelog
* Mon Apr 04 2011 Deepak Bhole <dbhole at redhat.com> 1.0.2-2
- Fixed incorrect macro value for min_openjdk_version
+- Use posttrans instead of post, so that upgrade from old plugin works
* Mon Apr 04 2011 Deepak Bhole <dbhole at redhat.com> 1.0.2-1
- Initial build
More information about the scm-commits
mailing list