apache-parent/apache-parent.spec

37 lines
1.1 KiB
RPMSpec
Raw Normal View History

2019-12-12 17:21:51 +08:00
Name: apache-parent
Version: 19
2020-12-23 09:53:59 +08:00
Release: 5
2019-12-12 17:21:51 +08:00
Summary: Maven Parent POM file for Apache projects
License: ASL 2.0
URL: https://maven.apache.org/pom/index.html
2020-12-23 09:53:59 +08:00
Source0: https://repo1.maven.org/maven2/org/apache/apache/%{version}/apache-%{version}-source-release.zip
2019-12-12 17:21:51 +08:00
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
2020-12-23 09:53:59 +08:00
* Tue Dec 22 2020 Ge Wang<wangge20@huawei.com> -19-5
- Modify Source0 url
2019-12-12 17:21:51 +08:00
* Thu Dec 12 2019 gulining<gulining1@huawei.com> - 19-4
- Pakcage init