update to version 0.9

This commit is contained in:
wang--ge 2023-12-07 15:26:04 +08:00
parent cdce0425f2
commit a5fd3dc69c
3 changed files with 13 additions and 6 deletions

Binary file not shown.

BIN
0.9.tar.gz Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: airline
Version: 0.7
Version: 0.9
Release: 1
Summary: Java annotation-based framework
License: ASL 2.0
URL: https://github.com/airlift/airline
Source0: https://github.com/airlift/airline/archive/%{version}.tar.gz
Source0: https://github.com/airlift/airline/archive/refs/tags/%{version}.tar.gz
BuildRequires: maven-local mvn(com.google.code.findbugs:annotations)
BuildRequires: mvn(com.google.code.findbugs:jsr305) mvn(com.google.guava:guava)
BuildRequires: mvn(javax.inject:javax.inject) mvn(org.testng:testng)
BuildRequires: mvn(org.assertj:assertj-core)
BuildArch: noarch
%description
@ -25,10 +26,13 @@ find -name '*.class' -delete
find -name '*.jar' -delete
%pom_remove_parent
%pom_xpath_inject "pom:project" "<groupId>io.airlift</groupId>"
%pom_add_dep com.google.code.findbugs:jsr305:2.0.3
%pom_xpath_inject "pom:dependency[pom:artifactId='annotations']" '<version>2.0.3</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='guava']" '<version>18.0</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='testng']" '<version>6.8.7</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='javax.inject']" '<version>1</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='jsr305']" '<version>3.0.2</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='guava']" '<version>25.0</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='testng']" '<version>6.14.3</version>'
%pom_xpath_inject "pom:dependency[pom:artifactId='assertj-core']" '<version>3.8.0</version>'
%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} %{name}
%build
@ -45,5 +49,8 @@ find -name '*.jar' -delete
%license license.txt notice.md
%changelog
* Thu Dec 07 2023 Ge Wang <wang__ge@126.com> - 0.9-1
- Update to version 0.9
* Fri Jul 24 2020 chengzihan <chengzihan2@huawei.com> - 0.7-1
- Package init