Hello community, here is the log from the commit of package guava20 for openSUSE:Factory checked in at 2020-03-23 12:52:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guava20 (Old) and /work/SRC/openSUSE:Factory/.guava20.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guava20" Mon Mar 23 12:52:14 2020 rev:4 rq:787384 version:20.0 Changes: -------- --- /work/SRC/openSUSE:Factory/guava20/guava20.changes 2019-10-07 14:13:56.810917681 +0200 +++ /work/SRC/openSUSE:Factory/.guava20.new.3160/guava20.changes 2020-03-23 12:53:17.124059082 +0100 @@ -1,0 +2,6 @@ +Mon Mar 23 09:31:45 UTC 2020 - Fridrich Strba <[email protected]> + +- Add bundle manifest to the guava jar so that it might be usable + from eclipse + +------------------------------------------------------------------- New: ---- osgi-manifest.txt ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guava20.spec ++++++ --- /var/tmp/diff_new_pack.QPNzbI/_old 2020-03-23 12:53:17.820059520 +0100 +++ /var/tmp/diff_new_pack.QPNzbI/_new 2020-03-23 12:53:17.832059527 +0100 @@ -1,7 +1,7 @@ # # spec file for package guava20 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Group: Development/Libraries/Java URL: https://github.com/google/guava Source0: https://github.com/google/guava/archive/v%{version}.tar.gz +Source1: osgi-manifest.txt Patch0: 0001-Avoid-presizing-arrays.patch Patch1: guava20-java8compat.patch BuildRequires: fdupes @@ -64,6 +65,7 @@ %prep %setup -q -n guava-%{version} +cat %{SOURCE1} | sed 's#@BNDVRSN@#%{version}.0#g' >manifest.txt %patch0 -p1 %patch1 -p1 @@ -110,7 +112,7 @@ -cp $(build-classpath jsr-305) \ -source 6 -target 6 -encoding utf8 \ $(find guava/src/ -name \*.java | xargs) -jar cf guava/build/guava-%{version}.jar -C guava/build/classes . +jar cfm guava/build/guava-%{version}.jar manifest.txt -C guava/build/classes . mkdir -p guava-testlib/build/classes javac \ ++++++ osgi-manifest.txt ++++++ Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-ManifestVersion: 2 Bundle-Name: Guava: Google Core Libraries for Java Bundle-SymbolicName: com.google.guava Bundle-Version: @BNDVRSN@ Export-Package: com.google.common.annotations;version="@BNDVRSN@", com.google.common.base;version="@BNDVRSN@", com.google.common.cache;version="@BNDVRSN@", com.google.common.collect;version="@BNDVRSN@", com.google.common.escape;version="@BNDVRSN@", com.google.common.eventbus;version="@BNDVRSN@", com.google.common.graph;version="@BNDVRSN@", com.google.common.hash;version="@BNDVRSN@", com.google.common.html;version="@BNDVRSN@", com.google.common.io;version="@BNDVRSN@", com.google.common.math;version="@BNDVRSN@", com.google.common.net;version="@BNDVRSN@", com.google.common.primitives;version="@BNDVRSN@", com.google.common.reflect;version="@BNDVRSN@", com.google.common.util.concurrent;version="@BNDVRSN@", com.google.common.xml;version="@BNDVRSN@" Import-Package: javax.annotation;resolution:=optional, javax.crypto;resolution:=optional, javax.crypto.spec;resolution:=optional, sun.misc;resolution:=optional Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.6))"
