Accepting request 1084076 from home:urbic:branches:Java:packages

- Update to version 1.13.0
  * See CHANGELOG.md
- Switch to java source level 8

OBS-URL: https://build.opensuse.org/request/show/1084076
OBS-URL: https://build.opensuse.org/package/show/Java:packages/javapoet?expand=0&rev=4
This commit is contained in:
Fridrich Strba 2023-05-02 20:54:25 +00:00 committed by Git OBS Bridge
parent d1e735c7d6
commit e43c5722c5
4 changed files with 16 additions and 6 deletions

BIN
javapoet-1.13.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1632e64e80360fb3a52e53212cfdff5e623e55f461945704479de87bd92892dc
size 71670

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Apr 20 04:25:06 UTC 2023 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to version 1.13.0
* See CHANGELOG.md
- Switch to java source level 8
-------------------------------------------------------------------
Fri May 3 14:55:20 UTC 2019 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package javapoet
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: javapoet
Version: 1.7.0
Version: 1.13.0
Release: 0
Summary: A Java API for generating .java source files
License: Apache-2.0
@ -43,12 +43,15 @@ This package contains javadoc for %{name}.
%setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_dep org.codehaus.plexus:plexus-compiler-javac-errorprone
%pom_remove_dep com.google.errorprone:error_prone_core
%pom_xpath_remove pom:compilerId
%{mvn_file} : %{name}
%build
# skip tests due to missing test dependencies
%{mvn_build} -f -- -Dsource=7
%{mvn_build} -f -- -Dsource=8
%install
%mvn_install