Package jackson-bom: Specfile
Group: Development/Java # BEGIN SourceDeps(oneline): BuildRequires: rpm-build-java # END SourceDeps(oneline) BuildRequires: /proc BuildRequires: jpackage-generic-compat # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: jackson-bom Version: 2.9.4 Release: alt1_2jpp8 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 Source44: import.info %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 %doc --no-dereference LICENSE %changelog * Wed May 16 2018 Igor Vlasenko <viy@altlinux.ru> 2.9.4-alt1_2jpp8 - java update |