jackson-bom/jackson-bom.spec

49 lines
1.3 KiB
RPMSpec
Raw Normal View History

2018-01-18 15:05:04 +00:00
Name: jackson-bom
2018-01-24 20:08:31 +00:00
Version: 2.9.4
Release: 2%{?dist}
2018-01-18 15:05:04 +00:00
Summary: Bill of materials POM for Jackson projects
License: ASL 2.0
URL: https://github.com/FasterXML/jackson-bom
Source0: https://github.com/FasterXML/jackson-bom/archive/%{name}-%{version}.tar.gz
# Upstream chooses not to include licenses with their pom only projects:
# https://github.com/FasterXML/jackson-parent/issues/1
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
BuildRequires: maven-local
BuildRequires: mvn(com.fasterxml.jackson:jackson-parent:pom:) >= 2.7.1
BuildArch: noarch
%description
A "bill of materials" POM for Jackson dependencies.
%prep
%setup -q -n %{name}-%{name}-%{version}
cp -p %{SOURCE1} LICENSE
sed -i 's/\r//' LICENSE
# Disable plugins not needed during RPM builds
%pom_remove_plugin ":maven-enforcer-plugin" base
%build
%mvn_build -j
%install
%mvn_install
%files -f .mfiles
%doc README.md
%license LICENSE
%changelog
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-24 20:08:31 +00:00
* Wed Jan 24 2018 Mat Booth <mat.booth@redhat.com> - 2.9.4-1
- Update to latest upstream release
2018-01-18 15:05:04 +00:00
* Thu Jan 18 2018 Mat Booth <mat.booth@redhat.com> - 2.9.3-1
- Initial packaging