!2 Upgrade to 3.0.2
From: @houyingchao Reviewed-by: @wangchong1995924 Signed-off-by: @wangchong1995924
This commit is contained in:
commit
3035f445a8
BIN
jsr-305-3.0.2.tar.gz
Normal file
BIN
jsr-305-3.0.2.tar.gz
Normal file
Binary file not shown.
30
jsr-305.spec
30
jsr-305.spec
@ -1,13 +1,18 @@
|
||||
Name: jsr-305
|
||||
Version: 0
|
||||
Release: 0.25
|
||||
Version: 3.0.2
|
||||
Release: 1
|
||||
Summary: Correctness annotations for Java code
|
||||
License: BSD and CC-BY
|
||||
URL: https://github.com/amaembo/jsr-305
|
||||
URL: https://code.google.com/p/jsr-305
|
||||
BuildArch: noarch
|
||||
Source0: https://github.com/amaembo/%{name}/archive/fdeb2abc16865fdd13f205c8f8afb7a34272e93e/%{name}.tar.gz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Source1: NOTICE-CC-BY.txt
|
||||
BuildRequires: maven-local
|
||||
%if %{with bootstrap}
|
||||
BuildRequires: javapackages-bootstrap
|
||||
%else
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
%endif
|
||||
|
||||
%description
|
||||
This package contains reference implementations, test cases, and other
|
||||
@ -21,8 +26,12 @@ Summary: Javadoc documentation for jsr-305
|
||||
This package contains the API documentation for jsr-305.
|
||||
|
||||
%prep
|
||||
%autosetup -n jsr-305-fdeb2abc16865fdd13f205c8f8afb7a34272e93e -p1
|
||||
%autosetup -n jsr-305-3.0.2 -p1
|
||||
cp %{SOURCE1} NOTICE-CC-BY
|
||||
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/*" 1.6
|
||||
|
||||
sed -i 's|<groupId>com\.google\.code\.findbugs</groupId>|<groupId>org.jsr-305</groupId>|' ri/pom.xml
|
||||
sed -i 's|<artifactId>jsr305</artifactId>|<artifactId>ri</artifactId>|' ri/pom.xml
|
||||
|
||||
%mvn_file :ri jsr-305
|
||||
%mvn_alias :ri com.google.code.findbugs:jsr305
|
||||
@ -30,6 +39,14 @@ cp %{SOURCE1} NOTICE-CC-BY
|
||||
|
||||
%pom_disable_module sampleUses
|
||||
|
||||
%pom_remove_parent ri
|
||||
%pom_add_parent org.jsr-305:jsr-305:0.1-SNAPSHOT ri
|
||||
|
||||
%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin ri
|
||||
%pom_remove_plugin org.apache.maven.plugins:maven-source-plugin ri
|
||||
%pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin ri
|
||||
%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin ri
|
||||
|
||||
%build
|
||||
%mvn_build
|
||||
|
||||
@ -43,5 +60,8 @@ cp %{SOURCE1} NOTICE-CC-BY
|
||||
%doc ri/LICENSE NOTICE-CC-BY
|
||||
|
||||
%changelog
|
||||
* Fri Sep 3 2021 houyingchao <houyingchao@huawei.com> - 3.0.2-1
|
||||
- Upgrade to 3.0.2
|
||||
|
||||
* Tue Jan 21 2020 Jiangping Hu <hujp1985@foxmail.com> - 0-0.25
|
||||
- Package init
|
||||
|
||||
BIN
jsr-305.tar.gz
BIN
jsr-305.tar.gz
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user