jackson-annotations/jackson-annotations.spec

53 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-08-28 11:38:42 +08:00
Name: jackson-annotations
Version: 2.15.2
2020-08-28 11:38:42 +08:00
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/%{name}/archive/%{name}-%{version}.tar.gz
2020-08-28 11:38:42 +08:00
BuildRequires: maven-local mvn(com.fasterxml.jackson:jackson-parent:pom:) mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
2019-12-14 18:55:48 +08:00
%description
2020-08-28 11:38:42 +08:00
Core annotations used for value types,
used by Jackson data-binding package.
2019-12-14 18:55:48 +08:00
2020-08-28 11:38:42 +08:00
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains API documentation for %{name}.
2019-12-14 18:55:48 +08:00
2020-08-28 11:38:42 +08:00
%prep
%setup -q -n %{name}-%{name}-%{version}
2022-03-30 14:47:43 +08:00
%pom_remove_plugin "org.moditect:moditect-maven-plugin"
%pom_remove_plugin "org.sonatype.plugins:nexus-staging-maven-plugin"
%pom_remove_plugin "de.jjohannes:gradle-module-metadata-maven-plugin"
2019-12-14 18:55:48 +08:00
sed -i 's/\r//' LICENSE
%mvn_file : %{name}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README.md release-notes/*
%license LICENSE
2020-08-28 11:38:42 +08:00
%files javadoc -f .mfiles-javadoc
%license LICENSE
2019-12-14 18:55:48 +08:00
%changelog
* Wed Jul 26 2023 xu_ping <707078654@qq.com> - 2.15.2-1
- Upgrade to 2.15.2 version
2022-03-30 14:47:43 +08:00
* Wed Mar 30 2022 houyingchao <houyingchao@huawei.com> - 2.13.1-1
- Upgrade to 2.13.1 version
2020-08-28 11:38:42 +08:00
* Fri Aug 14 2020 chengzihan <chengzihan2@huawei.com> - 2.9.8-1
- Package upgrade to 2.9.8
2019-12-14 18:55:48 +08:00
* Tue Dec 3 2019 huyan <hu.huyan@huawei.com> - 2.9.4-4
- Package Initialization