package upgrde

This commit is contained in:
chengzihan2 2020-08-28 11:38:42 +08:00
parent ab3a146bb9
commit a3ccc51d41
5 changed files with 28 additions and 26 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,32 +1,26 @@
%global main_res_dir src/main/resources/META-INF
Name: jackson-annotations
Version: 2.9.4
Release: 4
Summary: Core annotations for Jackson data processor
License: ASL 2.0
URL: https://github.com/FasterXML/jackson-annotations/
Source0: https://github.com/FasterXML/jackson-annotations/archive/%{name}-%{version}.tar.gz
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:)
BuildRequires: maven-local
BuildArch: noarch
Provides: jackson-annotations-javadoc
Obsoletes: jackson-annotations-javadoc
Name: jackson-annotations
Version: 2.9.8
Release: 1
Summary: Core annotations for Jackson data processor
License: ASL 2.0
URL: https://github.com/FasterXML/jackson-annotations/
Source0: https://github.com/FasterXML/jackson-annotations/archive/jackson-annotations-2.9.8.tar.gz
BuildRequires: maven-local mvn(com.fasterxml.jackson:jackson-parent:pom:) mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
%description
Core annotations used for value types, used by Jackson data-binding package.
Core annotations used for value types,
used by Jackson data-binding package.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains API documentation for %{name}.
%prep
%autosetup -n %{name}-%{name}-%{version} -p1
cp -p %{main_res_dir}/LICENSE .
%setup -q -n %{name}-%{name}-%{version}
cp -p src/main/resources/META-INF/LICENSE .
sed -i 's/\r//' LICENSE
%mvn_file : %{name}
%build
@ -37,10 +31,14 @@ sed -i 's/\r//' LICENSE
%files -f .mfiles
%doc README.md release-notes/*
%doc %{_javadocdir}/%{name}
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Fri Aug 14 2020 chengzihan <chengzihan2@huawei.com> - 2.9.8-1
- Package upgrade to 2.9.8
* Tue Dec 3 2019 huyan <hu.huyan@huawei.com> - 2.9.4-4
- Package Initialization

4
jackson-annotations.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: FasterXML/jackson-annotations
tag_prefix: "jackson-annotations-"
seperator: "."