!1 update to 2.9.8

Merge pull request !1 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-08-31 17:22:02 +08:00 committed by Gitee
commit 9a75813bf8
4 changed files with 32 additions and 28 deletions

Binary file not shown.

BIN
jackson-core-2.9.8.tar.gz Normal file

Binary file not shown.

View File

@ -1,35 +1,31 @@
%global main_res_dir src/main/resources/META-INF Name: jackson-core
Version: 2.9.8
Name: jackson-core Release: 1
Version: 2.9.4 Summary: Core part of Jackson
Release: 4 License: ASL 2.0
Summary: Core part of Jackson URL: https://github.com/FasterXML/jackson-core/
License: ASL 2.0 Source0: https://github.com/FasterXML/jackson-core/archive/%{name}-%{version}.tar.gz
URL: https://github.com/FasterXML/jackson-core/ BuildRequires: maven-local mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
Source0: https://github.com/FasterXML/jackson-core/archive/%{name}-%{version}.tar.gz BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildArch: noarch
BuildRequires: mvn(com.google.code.maven-replacer-plugin:replacer)
BuildRequires: mvn(com.fasterxml.jackson:jackson-base:pom:) >= %{version}
BuildRequires: maven-local
BuildArch: noarch
Provides: jackson-core-javadoc
Obsoletes: jackson-core-javadoc
%description %description
Core part of Jackson that defines Streaming API as well as basic shared abstractions. Core part of Jackson that defines Streaming API as well
as basic shared abstractions.
%package javadoc
Summary: Javadoc for %{name}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description javadoc
This package contains API documentation for %{name}.
%prep %prep
%autosetup -n %{name}-%{name}-%{version} -p1 %setup -q -n %{name}-%{name}-%{version}
%pom_remove_plugin ":maven-enforcer-plugin" %pom_remove_plugin ":maven-enforcer-plugin"
cp -p src/main/resources/META-INF/LICENSE .
cp -p %{main_res_dir}/LICENSE . cp -p src/main/resources/META-INF/NOTICE .
cp -p %{main_res_dir}/NOTICE .
sed -i 's/\r//' LICENSE NOTICE sed -i 's/\r//' LICENSE NOTICE
%mvn_file : %{name} %mvn_file : %{name}
%build %build
@ -40,10 +36,14 @@ sed -i 's/\r//' LICENSE NOTICE
%files -f .mfiles %files -f .mfiles
%doc README.md release-notes/* %doc README.md release-notes/*
%doc %{_javadocdir}/%{name}
%license LICENSE NOTICE %license LICENSE NOTICE
%files javadoc -f .mfiles-javadoc
%license LICENSE NOTICE
%changelog %changelog
* Fri Aug 28 2020 huanghaitao <huanghaitao8@huawei.com> - 2.9.8-1
- Upgrade to 2.9.8-1
* 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-core.yaml Normal file
View File

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