34 lines
858 B
RPMSpec
34 lines
858 B
RPMSpec
|
|
Name: codehaus-parent
|
||
|
|
Version: 4
|
||
|
|
Release: 1
|
||
|
|
Summary: Parent pom file for codehaus projects
|
||
|
|
License: ASL 2.0
|
||
|
|
URL: http://repo1.maven.org/maven2/org/codehaus/codehaus-parent
|
||
|
|
Source0: https://repo1.maven.org/maven2/org/codehaus/codehaus-parent/%{version}/codehaus-parent-%{version}.pom
|
||
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
||
|
|
Patch0: %{name}-enforcer.patch
|
||
|
|
BuildRequires: maven-local
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description
|
||
|
|
This package contains the parent pom file for codehaus projects.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -c -T
|
||
|
|
cp -p %{SOURCE0} pom.xml
|
||
|
|
cp -p %{SOURCE1} LICENSE
|
||
|
|
%patch0
|
||
|
|
|
||
|
|
%build
|
||
|
|
%mvn_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%mvn_install
|
||
|
|
|
||
|
|
%files -f .mfiles
|
||
|
|
%doc LICENSE
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Fri Aug 21 2020 leiju <leiju4@huawei.com> - 4-1
|
||
|
|
- Package init
|