47 lines
1.1 KiB
RPMSpec
47 lines
1.1 KiB
RPMSpec
%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
|
|
|
|
%description
|
|
Core annotations used for value types, used by Jackson data-binding package.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{name}-%{version} -p1
|
|
|
|
cp -p %{main_res_dir}/LICENSE .
|
|
sed -i 's/\r//' LICENSE
|
|
|
|
%mvn_file : %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.md release-notes/*
|
|
%doc %{_javadocdir}/%{name}
|
|
%license LICENSE
|
|
|
|
|
|
%changelog
|
|
* Tue Dec 3 2019 huyan <hu.huyan@huawei.com> - 2.9.4-4
|
|
- Package Initialization
|