commit java-binfmt-misc for openSUSE:Factory

2020-08-24 Thread root
Hello community,

here is the log from the commit of package java-binfmt-misc for 
openSUSE:Factory checked in at 2020-08-24 15:13:47

Comparing /work/SRC/openSUSE:Factory/java-binfmt-misc (Old)
 and  /work/SRC/openSUSE:Factory/.java-binfmt-misc.new.3399 (New)


Package is "java-binfmt-misc"

Mon Aug 24 15:13:47 2020 rev:18 rq:828864 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/java-binfmt-misc/java-binfmt-misc.changes
2017-09-09 20:26:02.230298488 +0200
+++ 
/work/SRC/openSUSE:Factory/.java-binfmt-misc.new.3399/java-binfmt-misc.changes  
2020-08-24 15:14:32.554728525 +0200
@@ -1,0 +2,6 @@
+Wed Aug 19 09:19:01 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)
+- Spec file cleanups
+
+---



Other differences:
--
++ java-binfmt-misc.spec ++
--- /var/tmp/diff_new_pack.nR4XOY/_old  2020-08-24 15:14:34.466729456 +0200
+++ /var/tmp/diff_new_pack.nR4XOY/_new  2020-08-24 15:14:34.466729456 +0200
@@ -50,25 +50,25 @@
 
 %install
 # a basic directory structure
-install -d -m 0755 %{buildroot}/%{_datadir}/{applications,pixmaps}
-install -d -m 0755 %{buildroot}/%{_libexecdir}/binfmt.d
-install -d -m 0755 %{buildroot}/%{_bindir}/
-install -d -m 0755 %{buildroot}/%{_mandir}/man1
+install -d -m 0755 %{buildroot}%{_datadir}/{applications,pixmaps}
+install -d -m 0755 %{buildroot}%{_binfmtdir}
+install -d -m 0755 %{buildroot}%{_bindir}/
+install -d -m 0755 %{buildroot}%{_mandir}/man1
 # wrappers
-install -m 0755 javaclassname %{buildroot}/%{_bindir}/
-install -m 0755 *wrapper %{buildroot}/%{_bindir}/
+install -m 0755 javaclassname %{buildroot}%{_bindir}/
+install -m 0755 *wrapper %{buildroot}%{_bindir}/
 # desktop menu
 install -m 0644 share/java.png %{buildroot}%{_datadir}/pixmaps/java.png
 install -m 0644 share/*desktop %{buildroot}%{_datadir}/applications/
 for wrapper in jarwrapper javawrapper javawswrapper; do
 # init binfmt.d snippet
-install -m 0644 ${wrapper}.conf %{buildroot}%{_libexecdir}/binfmt.d/
+install -m 0644 ${wrapper}.conf %{buildroot}%{_binfmtdir}/
 %suse_update_desktop_file -r 
%{buildroot}%{_datadir}/applications/$wrapper.desktop Technology Java
 done
 # manual page
-mv docs/%{name}.1 %{buildroot}/%{_mandir}/man1
+mv docs/%{name}.1 %{buildroot}%{_mandir}/man1
 (
-cd %{buildroot}/%{_mandir}/man1
+cd %{buildroot}%{_mandir}/man1
 for alias in jarwrapper javawrapper javawswrapper javaclassname; do
 ln -sf %{name}.1 $alias.1
 done
@@ -88,8 +88,8 @@
 %doc docs/
 %attr(755,root,root) %{_bindir}/*
 # Avoid dependency on systemd
-%dir %{_libexecdir}/binfmt.d/
-%{_libexecdir}/binfmt.d/*.conf
+%dir %{_binfmtdir}
+%{_binfmtdir}/*.conf
 %{_datadir}/applications/*
 %{_datadir}/pixmaps/*
 %{_mandir}/man1/*




commit java-binfmt-misc for openSUSE:Factory

2017-09-09 Thread root
Hello community,

here is the log from the commit of package java-binfmt-misc for 
openSUSE:Factory checked in at 2017-09-09 20:26:01

Comparing /work/SRC/openSUSE:Factory/java-binfmt-misc (Old)
 and  /work/SRC/openSUSE:Factory/.java-binfmt-misc.new (New)


Package is "java-binfmt-misc"

Sat Sep  9 20:26:01 2017 rev:17 rq:521954 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/java-binfmt-misc/java-binfmt-misc.changes
2017-04-06 11:01:18.194765912 +0200
+++ /work/SRC/openSUSE:Factory/.java-binfmt-misc.new/java-binfmt-misc.changes   
2017-09-09 20:26:02.230298488 +0200
@@ -1,0 +2,6 @@
+Thu Sep  7 07:44:19 UTC 2017 - mplus...@suse.com
+
+- Reload systemd-binfmt.service so that binfmt setting are applied
+  without need to reboot (bsc#1057531)
+
+---



Other differences:
--
++ java-binfmt-misc.spec ++
--- /var/tmp/diff_new_pack.5XJlRH/_old  2017-09-09 20:26:02.838212802 +0200
+++ /var/tmp/diff_new_pack.5XJlRH/_new  2017-09-09 20:26:02.842212237 +0200
@@ -28,11 +28,12 @@
 BuildRequires:  update-desktop-files
 Requires(post): desktop-file-utils
 Requires(post): shared-mime-info
+Requires(post): systemd
 Requires(postun): desktop-file-utils
 Requires(postun): shared-mime-info
+Requires(postun): systemd
 # split-alias for libzypp
 Provides:   jpackage-utils:%{_bindir}/jarwrapper
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Linux beats them ALL! While all other OS's are TALKING about direct
@@ -76,13 +77,14 @@
 %post
 %desktop_database_post
 %mime_database_post
+%{_bindir}/systemctl restart systemd-binfmt.service ||:
 
 %postun
 %desktop_database_postun
 %mime_database_postun
+%{_bindir}/systemctl restart systemd-binfmt.service ||:
 
 %files
-%defattr(-,root,root,0755)
 %doc docs/
 %attr(755,root,root) %{_bindir}/*
 # Avoid dependency on systemd




commit java-binfmt-misc for openSUSE:Factory

2017-04-06 Thread root
Hello community,

here is the log from the commit of package java-binfmt-misc for 
openSUSE:Factory checked in at 2017-04-06 11:01:14

Comparing /work/SRC/openSUSE:Factory/java-binfmt-misc (Old)
 and  /work/SRC/openSUSE:Factory/.java-binfmt-misc.new (New)


Package is "java-binfmt-misc"

Thu Apr  6 11:01:14 2017 rev:16 rq:482748 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/java-binfmt-misc/java-binfmt-misc.changes
2017-03-24 02:22:27.865189227 +0100
+++ /work/SRC/openSUSE:Factory/.java-binfmt-misc.new/java-binfmt-misc.changes   
2017-04-06 11:01:18.194765912 +0200
@@ -1,0 +2,5 @@
+Sun Mar 26 13:05:19 UTC 2017 - tchva...@suse.com
+
+- Run desktop db scriptlet updates wrt bsc#1030903
+
+---



Other differences:
--
++ java-binfmt-misc.spec ++
--- /var/tmp/diff_new_pack.dFZs9u/_old  2017-04-06 11:01:18.822677166 +0200
+++ /var/tmp/diff_new_pack.dFZs9u/_new  2017-04-06 11:01:18.826676602 +0200
@@ -26,6 +26,10 @@
 # derived from Linux's Documentation/java.txt
 Source0:%{name}-%{version}.tar.gz
 BuildRequires:  update-desktop-files
+Requires(post): desktop-file-utils
+Requires(post): shared-mime-info
+Requires(postun): desktop-file-utils
+Requires(postun): shared-mime-info
 # split-alias for libzypp
 Provides:   jpackage-utils:%{_bindir}/jarwrapper
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -69,6 +73,14 @@
 done
 )
 
+%post
+%desktop_database_post
+%mime_database_post
+
+%postun
+%desktop_database_postun
+%mime_database_postun
+
 %files
 %defattr(-,root,root,0755)
 %doc docs/




commit java-binfmt-misc for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package java-binfmt-misc for 
openSUSE:Factory checked in at 2017-03-24 02:22:27

Comparing /work/SRC/openSUSE:Factory/java-binfmt-misc (Old)
 and  /work/SRC/openSUSE:Factory/.java-binfmt-misc.new (New)


Package is "java-binfmt-misc"

Fri Mar 24 02:22:27 2017 rev:15 rq:481751 version:1.4

Changes:

--- /work/SRC/openSUSE:Factory/java-binfmt-misc/java-binfmt-misc.changes
2013-07-29 21:06:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.java-binfmt-misc.new/java-binfmt-misc.changes   
2017-03-24 02:22:27.865189227 +0100
@@ -1,0 +2,6 @@
+Tue Mar 21 09:22:41 UTC 2017 - tchva...@suse.com
+
+- Move the wrappers to libexec wrt bsc#1029650 (see binfmt.d(5))
+- Format a bit with spec-cleaner
+
+---



Other differences:
--
++ java-binfmt-misc.spec ++
--- /var/tmp/diff_new_pack.8XFX9D/_old  2017-03-24 02:22:28.397113963 +0100
+++ /var/tmp/diff_new_pack.8XFX9D/_new  2017-03-24 02:22:28.401113397 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package java-binfmt-misc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%define runtimescript java-binfmt-misc
-
 Name:   java-binfmt-misc
 Version:1.4
 Release:0
@@ -27,13 +25,10 @@
 Url:http://www.kernel.org/
 # derived from Linux's Documentation/java.txt
 Source0:%{name}-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  update-desktop-files
 # split-alias for libzypp
-# http://en.opensuse.org/Upgrade_Dependencies#Splitting_a_package_into_two
-Provides:   jpackage-utils:/usr/bin/jarwrapper
-# Conflicts with an unsplitted version of jpackage-utils
-Conflicts:  jpackage-utils <= 1.7.5-2.3
+Provides:   jpackage-utils:%{_bindir}/jarwrapper
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Linux beats them ALL! While all other OS's are TALKING about direct
@@ -46,42 +41,41 @@
 %setup -q
 
 %build
-gcc $RPM_OPT_FLAGS javaclassname.c -o javaclassname
+gcc %{optflags} javaclassname.c -o javaclassname
 
 %install
 # a basic directory structure
-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/%{_mandir}/man1
+install -d -m 0755 %{buildroot}/%{_datadir}/{applications,pixmaps}
+install -d -m 0755 %{buildroot}/%{_libexecdir}/binfmt.d
+install -d -m 0755 %{buildroot}/%{_bindir}/
+install -d -m 0755 %{buildroot}/%{_mandir}/man1
 # wrappers
-install -m 0755 javaclassname $RPM_BUILD_ROOT/%{_bindir}/
-install -m 0755 *wrapper $RPM_BUILD_ROOT/%{_bindir}/
+install -m 0755 javaclassname %{buildroot}/%{_bindir}/
+install -m 0755 *wrapper %{buildroot}/%{_bindir}/
 # desktop menu
-install -m 0644 share/java.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/java.png
-install -m 0644 share/*desktop $RPM_BUILD_ROOT%{_datadir}/applications/
+install -m 0644 share/java.png %{buildroot}%{_datadir}/pixmaps/java.png
+install -m 0644 share/*desktop %{buildroot}%{_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
+install -m 0644 ${wrapper}.conf %{buildroot}%{_libexecdir}/binfmt.d/
+%suse_update_desktop_file -r 
%{buildroot}%{_datadir}/applications/$wrapper.desktop Technology Java
 done
 # manual page
-gzip docs/%{name}.1
-mv docs/%{name}.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1
+mv docs/%{name}.1 %{buildroot}/%{_mandir}/man1
 (
-cd $RPM_BUILD_ROOT/%{_mandir}/man1
+cd %{buildroot}/%{_mandir}/man1
 for alias in jarwrapper javawrapper javawswrapper javaclassname; do
-ln -sf %{name}.1.gz $alias.1.gz;
+ln -sf %{name}.1 $alias.1
 done
 )
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,0755)
 %doc docs/
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/lib
+# Avoid dependency on systemd
+%dir %{_libexecdir}/binfmt.d/
+%{_libexecdir}/binfmt.d/*.conf
 %{_datadir}/applications/*
 %{_datadir}/pixmaps/*
 %{_mandir}/man1/*




commit java-binfmt-misc for openSUSE:Factory

2013-07-29 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.java-binfmt-misc.new/java-binfmt-misc.changes   
2013-07-29 21:06:24.0 +0200
@@ -1,0 +2,8 @@
+Mon Jul 29 13:28:09 UTC 2013 - mvysko...@suse.com
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.2AYTs8/_new  2013-07-29 21:06:25.0 +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, br...@lantz.com
-Richard G�nther
-Colin J. Watson cj...@cam.ac.uk
-Kurt Huwig k...@iku-netz.de
-
 %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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org