Hello community, here is the log from the commit of package jpackage-utils checked in at Thu Jan 10 15:24:06 CET 2008. -------- --- jpackage-utils/jpackage-utils.changes 2007-12-13 11:59:23.000000000 +0100 +++ /mounts/work_src_done/STABLE/jpackage-utils/jpackage-utils.changes 2008-01-10 13:43:16.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Jan 10 13:40:01 CET 2008 - mvyskocil@suse.cz + +- fixed the init script [#352300] +- the post install script is completelly quiet [#271198] +- add some improvments to spec (new %postun, %preun sections) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jpackage-utils.spec ++++++ --- /var/tmp/diff_new_pack.in7134/_old 2008-01-10 15:21:33.000000000 +0100 +++ /var/tmp/diff_new_pack.in7134/_new 2008-01-10 15:21:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package jpackage-utils (Version 1.7.3) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -15,7 +15,7 @@ %define section free %define runtimescript java.binfmt_misc Version: 1.7.3 -Release: 1 +Release: 4 Summary: JPackage Utilities License: BSD 3-Clause Url: http://www.jpackage.org/ @@ -48,7 +48,6 @@
etc/jpackage-release
%install -rm -rf $RPM_BUILD_ROOT # Pull macros out of macros.jpackage and emulate them during install for # smooth bootstrapping experience. for dir in \ @@ -197,15 +196,18 @@ done EOF -%clean -rm -rf $RPM_BUILD_ROOT - %post if test ${1:-0} -eq 1; then - /sbin/chkconfig -a %{runtimescript} 2> /dev/null - service %{runtimescript} restart 2> /dev/null + /sbin/chkconfig -a %{runtimescript} > /dev/null 2> /dev/null + service %{runtimescript} restart > /dev/null 2> /dev/null fi +%postun +%insserv_cleanup + +%preun +%stop_on_removal %{runtimescript} + %files -f %{name}-%{version}.files %defattr(-,root,root,-) %doc LICENSE.txt HEADER.JPP doc/* etc/httpd-javadoc.conf @@ -217,6 +219,10 @@ %{_datadir}/pixmaps/* %changelog +* Thu Jan 10 2008 - mvyskocil@suse.cz +- fixed the init script [#352300] +- the post install script is completelly quiet [#271198] +- add some improvments to spec (new %%postun, %%preun sections) * Thu Dec 13 2007 - mvyskocil@suse.cz - updated to 1.7.3 (sync with upstream) - improved the error messages from javawswrapper scripts, if there's ++++++ java.binfmt_misc ++++++ --- jpackage-utils/java.binfmt_misc 2007-12-11 17:53:59.000000000 +0100 +++ /mounts/work_src_done/STABLE/jpackage-utils/java.binfmt_misc 2008-01-10 13:17:07.000000000 +0100 @@ -29,7 +29,7 @@ # ### BEGIN INIT INFO # Provides: java.binfmt_misc -# Required-Start: +# Required-Start: $remote_fs # Should-Start: # Required-Stop: # Should-Stop: @@ -127,6 +127,7 @@ # Insert BINFMT_MISC module into the kernel if [ ! -e /proc/sys/fs/binfmt_misc/register ]; then + if [[ -x /sbin/modprobe ]]; then /sbin/modprobe binfmt_misc # Some distributions, like Fedora Core, perform # the following command automatically when the @@ -134,10 +135,11 @@ # Thus, it is possible that the following line # is not needed at all. Look at /etc/modprobe.conf # to check whether this is applicable or not. - if ! mount | grep -q binfmt - then - mount -t binfmt_misc none /proc/sys/fs/binfmt_misc - fi + if ! mount | grep -q binfmt + then + mount -t binfmt_misc none /proc/sys/fs/binfmt_misc + fi + fi fi # Register support for class and jar files @@ -168,9 +170,6 @@ # ':Applet:E::html::/usr/bin/appletviewer:' ##or the following, if you want to be more selective: # ':Applet:M:: Reply