Sync from SUSE:SLFO:Main google-gson revision 5162dfb38ba81441180eedc4a3819e3d

This commit is contained in:
Adrian Schröter 2024-05-31 14:36:13 +02:00
parent c6476a761e
commit 1ab98312ac
2 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Apr 29 14:47:02 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- The binaries are compatible with java 1.8
-------------------------------------------------------------------
Wed Feb 21 10:44:10 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Sat Sep 9 13:38:45 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package google-gson
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -31,6 +31,10 @@ BuildRequires: java-devel >= 9
BuildRequires: maven-local
BuildRequires: mvn(javax.annotation:jsr250-api)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
# The automatic requires would be java-headless >= 9, but the
# binaries are java 8 compatible
%define __requires_exclude java-headless
Requires: java-headless >= 1.8
BuildArch: noarch
%description
@ -47,8 +51,8 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n gson-gson-parent-%{version}
%patch0 -p1
%patch1 -p1
%patch -P 0 -p1
%patch -P 1 -p1
# remove unnecessary dependency on parent POM
%pom_remove_parent