update to version 1.13.0.2
This commit is contained in:
parent
f4cfa5c571
commit
d5f8c1a58e
BIN
javapoet-1.13.0-2.tar.gz
Normal file
BIN
javapoet-1.13.0-2.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
Name: javapoet
|
Name: javapoet
|
||||||
Version: 1.7.0
|
Version: 1.13.0.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A Java API for generating .java source files
|
Summary: A Java API for generating .java source files
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/square/javapoet
|
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:)
|
BuildRequires: maven-local mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
|
||||||
%if 0
|
%if 0
|
||||||
@ -28,8 +28,14 @@ Summary: Javadoc for %{name}
|
|||||||
This package contains javadoc for %{name}.
|
This package contains javadoc for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{name}-%{version}
|
%setup -q -n %{name}-%{name}-1.13.0-2
|
||||||
%pom_remove_plugin :maven-checkstyle-plugin
|
%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}
|
%mvn_file : %{name}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -46,5 +52,7 @@ This package contains javadoc for %{name}.
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 12 2020 leiju <leiju4@huawei.com> - 1.7.0-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user