SHA256
1
0
forked from pool/guava
Fridrich Strba 2019-04-12 10:06:06 +00:00 committed by Git OBS Bridge
parent 085e34d614
commit 2a2a73a42f
2 changed files with 6 additions and 7 deletions

4
guava.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Fri Apr 12 10:05:01 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Initial packaging of guava 25.0

View File

@ -20,9 +20,7 @@ Name: guava
Version: 25.0 Version: 25.0
Release: 0 Release: 0
Summary: Google Core Libraries for Java Summary: Google Core Libraries for Java
# Most of the code is under ASL 2.0 License: Apache-2.0 AND CC0-1.0
# Few classes are under CC0, grep for creativecommons
License: Apache-2.0 AND CC0
Group: Development/Libraries/Java Group: Development/Libraries/Java
URL: https://github.com/google/guava URL: https://github.com/google/guava
Source0: https://github.com/google/guava/archive/v%{version}.tar.gz Source0: https://github.com/google/guava/archive/v%{version}.tar.gz
@ -36,7 +34,7 @@ BuildArch: noarch
%description %description
Guava is a suite of core and expanded libraries that include Guava is a suite of core and expanded libraries that include
utility classes, Googles collections, io classes, and much utility classes, Google's collections, io classes, and much
much more. much more.
This project is a complete packaging of all the Guava libraries This project is a complete packaging of all the Guava libraries
into a single jar. Individual portions of Guava can be used into a single jar. Individual portions of Guava can be used
@ -44,7 +42,6 @@ by downloading the appropriate module and its dependencies.
%package javadoc %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Documentation/HTML Group: Documentation/HTML
%description javadoc %description javadoc
@ -96,8 +93,6 @@ find -name '*.java' | xargs sed -ri \
"s/^import .*\.($annotations);//;s/@($annotations)"'\>\s*(\((("[^"]*")|([^)]*))\))?//g' "s/^import .*\.($annotations);//;s/@($annotations)"'\>\s*(\((("[^"]*")|([^)]*))\))?//g'
%build %build
# Tests fail on Koji due to insufficient memory,
# see https://bugzilla.redhat.com/show_bug.cgi?id=1332971
%{mvn_build} -s -f -- -Dsource=1.8 %{mvn_build} -s -f -- -Dsource=1.8
%install %install