33 lines
783 B
RPMSpec
33 lines
783 B
RPMSpec
Name: jvnet-parent
|
|
Version: 4
|
|
Release: 12
|
|
Summary: Java.net parent POM file
|
|
License: ASL 2.0
|
|
URL: http://www.java.net
|
|
Source0: https://repo1.maven.org/maven2/net/java/jvnet-parent/4/jvnet-parent-4.pom
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
BuildArch: noarch
|
|
BuildRequires: jpackage-utils maven-local maven-enforcer-plugin
|
|
|
|
%description
|
|
Java.net parent POM file used by most Java.net subprojects such as
|
|
Glassfish
|
|
|
|
%prep
|
|
cp -p %{SOURCE0} pom.xml
|
|
cp -p %{SOURCE1} LICENSE
|
|
%pom_remove_plugin org.apache.maven.plugins:maven-enforcer-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Thu Mar 12 2020 liangdong <liangdong10@huawei.com> - 4-12
|
|
- Package init
|