38 lines
795 B
RPMSpec
38 lines
795 B
RPMSpec
%global _summary Project for parent pom for all Jackson components
|
|
Name: jackson-parent
|
|
Summary: %{_summary}
|
|
Version: 2.9.1
|
|
Release: 4
|
|
License: ASL 2.0
|
|
URL: https://github.com/FasterXML/jackson-parent
|
|
|
|
Source0: https://github.com/FasterXML/jackson-parent/archive/%{name}-%{version}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildRequires: maven-local mvn(com.fasterxml:oss-parent:pom:)
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{_summary}
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-%{name}-%{version}
|
|
|
|
cp -p %{SOURCE1} LICENSE
|
|
sed -i 's/\r//' LICENSE
|
|
|
|
%build
|
|
%mvn_build -j
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Fri Dec 13 2019 caomeng<caomeng5@huawei.com> - 2.9.1-4
|
|
- Package init
|