Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package laf-plugin for openSUSE:Factory checked in at 2022-03-23 20:18:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/laf-plugin (Old) and /work/SRC/openSUSE:Factory/.laf-plugin.new.25692 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "laf-plugin" Wed Mar 23 20:18:22 2022 rev:6 rq:964166 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/laf-plugin/laf-plugin.changes 2017-09-20 17:11:56.879830384 +0200 +++ /work/SRC/openSUSE:Factory/.laf-plugin.new.25692/laf-plugin.changes 2022-03-23 20:20:19.390528776 +0100 @@ -1,0 +2,5 @@ +Wed Mar 23 07:18:20 UTC 2022 - Fridrich Strba <fst...@suse.com> + +- Specify java source and target level 1.8 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laf-plugin.spec ++++++ --- /var/tmp/diff_new_pack.XRdovr/_old 2022-03-23 20:20:19.866529046 +0100 +++ /var/tmp/diff_new_pack.XRdovr/_new 2022-03-23 20:20:19.870529048 +0100 @@ -1,7 +1,7 @@ # # spec file for package laf-plugin # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,18 +23,18 @@ # nanoxml distributed with laf-plugin is licensed under Zlib license while laf-plugin itself is BSD-3-Clause License: BSD-3-Clause AND Zlib Group: Development/Libraries/Java -Url: https://java.net/projects/laf-plugin +URL: https://java.net/projects/laf-plugin # Upstream download URL https://laf-plugin.dev.java.net/files/documents/4261/50297/%{name}-all.zip seems dead Source0: %{name}-all.zip Source1: %{name}-build.xml BuildRequires: ant BuildRequires: dos2unix BuildRequires: fdupes -BuildRequires: java-devel +BuildRequires: java-devel >= 1.8 BuildRequires: jpackage-utils BuildRequires: unzip BuildRequires: xmlbeans -Requires: java >= 1.5 +Requires: java >= 1.8 Requires: jpackage-utils BuildArch: noarch @@ -63,35 +63,30 @@ chmod 644 src/org/jvnet/lafplugin/*.license %build -ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 all +ant -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 all javadoc -quiet \ -d doc \ - -source 1.6 \ + -source 1.8 \ -classpath ./build/classes50 \ -public \ `find ./ -name \*.java` %install # jars -install -Dm 644 drop/%{name}-50.jar %{buildroot}%{_javadir}/%{name}-50-%{version}.jar -pushd %{buildroot}%{_javadir} 1>/dev/null - for jar in *-%{version}*; do - ln -sf ${jar} $(echo $jar| sed "s|-%{version}||g") - done - ln -s %{name}-50.jar %{name}.jar -popd 1>/dev/null +install -Dm 644 drop/%{name}-50.jar %{buildroot}%{_javadir}/%{name}-50.jar +ln -sf %{name}-50.jar %{buildroot}%{_javadir}/%{name}.jar # javadoc -install -dm 755 %{buildroot}%{_javadocdir}/%{name}-%{version} -cp -pr doc/* %{buildroot}%{_javadocdir}/%{name}-%{version}/ -%fdupes -s %{buildroot}%{_javadocdir}/%{name}-%{version} +install -dm 755 %{buildroot}%{_javadocdir}/%{name} +cp -pr doc/* %{buildroot}%{_javadocdir}/%{name} +%fdupes -s %{buildroot}%{_javadocdir}/%{name} %files -%doc src/org/jvnet/lafplugin/*.license +%license src/org/jvnet/lafplugin/*.license %{_javadir}/%{name}*.jar %files javadoc -%doc %{_javadocdir}/%{name}-%{version} +%doc %{_javadocdir}/%{name} %changelog