Hello community, here is the log from the commit of package java-binfmt-misc for openSUSE:Factory checked in at 2013-07-29 21:06:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/java-binfmt-misc (Old) and /work/SRC/openSUSE:Factory/.java-binfmt-misc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-binfmt-misc" Changes: -------- --- /work/SRC/openSUSE:Factory/java-binfmt-misc/java-binfmt-misc.changes 2011-09-23 02:04:06.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.java-binfmt-misc.new/java-binfmt-misc.changes 2013-07-29 21:06:24.000000000 +0200 @@ -1,0 +2,8 @@ +Mon Jul 29 13:28:09 UTC 2013 - [email protected] + +- update to 1.4 + * add systemd-style binfmt.d config files + * drop sysvinit script + * rename and update readme file + +------------------------------------------------------------------- Old: ---- java-binfmt-misc-1.03.tar.bz2 New: ---- java-binfmt-misc-1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-binfmt-misc.spec ++++++ --- /var/tmp/diff_new_pack.2AYTs8/_old 2013-07-29 21:06:25.000000000 +0200 +++ /var/tmp/diff_new_pack.2AYTs8/_new 2013-07-29 21:06:25.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package java-binfmt-misc (Version 1.03) +# spec file for package java-binfmt-misc # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,23 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild %define runtimescript java-binfmt-misc Name: java-binfmt-misc -Version: 1.03 -Release: 5 +Version: 1.4 +Release: 0 Summary: The binfmt_misc support for Java -Group: Development/Languages/Java License: GPL-2.0 +Group: Development/Languages/Java Url: http://www.kernel.org/ # derived from Linux's Documentation/java.txt -Source0: %{name}-%{version}.tar.bz2 +Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: update-desktop-files -PreReq: %insserv_prereq /sbin/chkconfig /sbin/service -AutoReqProv: on # split-alias for libzypp # http://en.opensuse.org/Upgrade_Dependencies#Splitting_a_package_into_two Provides: jpackage-utils:/usr/bin/jarwrapper @@ -45,15 +42,6 @@ You can execute Java applications and Java Applets just like any other program after you have installed this package. - - -Authors: --------- - Brian A. Lantz, [email protected] - Richard G�nther - Colin J. Watson <[email protected]> - Kurt Huwig <[email protected]> - %prep %setup -q @@ -62,17 +50,9 @@ %install # a basic directory structure -install -d -m 0755 $RPM_BUILD_ROOT/%{_sysconfdir}/init.d -install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/{applications,pixmaps} +install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/{applications,pixmaps,lib/binfmt.d} install -d -m 0755 $RPM_BUILD_ROOT/%{_bindir}/ -install -d -m 0755 $RPM_BUILD_ROOT/%{_sbindir}/ install -d -m 0755 $RPM_BUILD_ROOT/%{_mandir}/man1 -# init script -install -m 0755 %{runtimescript}.init \ - $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/%{runtimescript} -# rc symlink -ln -sf %{_sysconfdir}/init.d/%{runtimescript} \ - $RPM_BUILD_ROOT/%{_sbindir}/rc%{runtimescript} # wrappers install -m 0755 javaclassname $RPM_BUILD_ROOT/%{_bindir}/ install -m 0755 *wrapper $RPM_BUILD_ROOT/%{_bindir}/ @@ -80,6 +60,8 @@ install -m 0644 share/java.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/java.png install -m 0644 share/*desktop $RPM_BUILD_ROOT%{_datadir}/applications/ for wrapper in jarwrapper javawrapper javawswrapper; do + # init binfmt.d snippet + install -m 0644 ${wrapper}.conf %{buildroot}%{_datadir}/lib/binfmt.d/ %suse_update_desktop_file -r $RPM_BUILD_ROOT%{_datadir}/applications/$wrapper.desktop Java System done # manual page @@ -95,24 +77,11 @@ %clean rm -rf $RPM_BUILD_ROOT -%post -if test ${1:-0} -eq 1; then - /sbin/chkconfig -a %{runtimescript} > /dev/null 2> /dev/null - /sbin/service %{runtimescript} restart > /dev/null 2> /dev/null || true -fi - -%postun -%insserv_cleanup - -%preun -%stop_on_removal %{runtimescript} - %files %defattr(-,root,root,0755) %doc docs/ -%attr(755,root,root) %{_sysconfdir}/init.d/* -%attr(755,root,root) %{_sbindir}/* %attr(755,root,root) %{_bindir}/* +%{_datadir}/lib %{_datadir}/applications/* %{_datadir}/pixmaps/* %{_mandir}/man1/* -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
