!1 Package upgrade

Merge pull request !1 from 成子晗/master
This commit is contained in:
openeuler-ci-bot 2020-08-28 14:19:49 +08:00 committed by Gitee
commit f62ae63cc3
4 changed files with 28 additions and 26 deletions

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.8
Name: jackson-annotations Release: 1
Version: 2.9.4 Summary: Core annotations for Jackson data processor
Release: 4 License: ASL 2.0
Summary: Core annotations for Jackson data processor URL: https://github.com/FasterXML/jackson-annotations/
License: ASL 2.0 Source0: https://github.com/FasterXML/jackson-annotations/archive/jackson-annotations-2.9.8.tar.gz
URL: https://github.com/FasterXML/jackson-annotations/ BuildRequires: maven-local mvn(com.fasterxml.jackson:jackson-parent:pom:) mvn(junit:junit)
Source0: https://github.com/FasterXML/jackson-annotations/archive/%{name}-%{version}.tar.gz BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
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
%description %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 %prep
%autosetup -n %{name}-%{name}-%{version} -p1 %setup -q -n %{name}-%{name}-%{version}
cp -p src/main/resources/META-INF/LICENSE .
cp -p %{main_res_dir}/LICENSE .
sed -i 's/\r//' LICENSE sed -i 's/\r//' LICENSE
%mvn_file : %{name} %mvn_file : %{name}
%build %build
@ -37,10 +31,14 @@ sed -i 's/\r//' LICENSE
%files -f .mfiles %files -f .mfiles
%doc README.md release-notes/* %doc README.md release-notes/*
%doc %{_javadocdir}/%{name}
%license LICENSE %license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog %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 * Tue Dec 3 2019 huyan <hu.huyan@huawei.com> - 2.9.4-4
- Package Initialization - 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: "."