apache-parent/apache-parent.spec
2020-12-23 09:53:59 +08:00

37 lines
1.1 KiB
RPMSpec

Name: apache-parent
Version: 19
Release: 5
Summary: Maven Parent POM file for Apache projects
License: ASL 2.0
URL: https://maven.apache.org/pom/index.html
Source0: https://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
BuildArch: noarch
BuildRequires: maven-local mvn(org.apache.maven.plugins:maven-enforcer-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-remote-resources-plugin) mvn(org.apache:apache-jar-resource-bundle)
Requires: mvn(org.apache:apache-jar-resource-bundle)
%description
Maven parent POM (or super POM) is used to structure the project to avoid
redundancies or duplicate configurations using inheritance between pom
files. It helps in easy maintenance in long term.
%prep
%autosetup -n apache-%{version} -p1
%pom_remove_plugin :maven-site-plugin
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc LICENSE NOTICE
%changelog
* Tue Dec 22 2020 Ge Wang<wangge20@huawei.com> -19-5
- Modify Source0 url
* Thu Dec 12 2019 gulining<gulining1@huawei.com> - 19-4
- Pakcage init