update to version 1.13.0.2

This commit is contained in:
wang--ge 2024-02-01 09:42:25 +08:00
parent f4cfa5c571
commit d5f8c1a58e
3 changed files with 11 additions and 3 deletions

BIN
javapoet-1.13.0-2.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: javapoet
Version: 1.7.0
Version: 1.13.0.2
Release: 1
Summary: A Java API for generating .java source files
License: ASL 2.0
URL: https://github.com/square/javapoet
Source0: https://github.com/square/javapoet/archive/javapoet-%{version}.tar.gz
Source0: https://github.com/square/javapoet/archive/refs/tags/%{name}-1.13.0-2.tar.gz
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:)
%if 0
@ -28,8 +28,14 @@ Summary: Javadoc for %{name}
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%setup -q -n %{name}-%{name}-1.13.0-2
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_dep :plexus-compiler-javac-errorprone
%pom_remove_dep com.google.errorprone:error_prone_core
sed -i '97,104d' pom.xml
%pom_xpath_inject "pom:properties" "<encoding>UTF-8</encoding>"
%pom_xpath_inject "pom:properties" "<maven.compiler.source>1.8</maven.compiler.source>"
%pom_xpath_inject "pom:properties" "<maven.compiler.target>1.8</maven.compiler.target>"
%mvn_file : %{name}
%build
@ -46,5 +52,7 @@ This package contains javadoc for %{name}.
%license LICENSE.txt
%changelog
* Wed Jan 31 2024 Ge Wang <wang__ge@126.com> - 1.13.0.2-1
* Wed Aug 12 2020 leiju <leiju4@huawei.com> - 1.7.0-1
- Package init