39 lines
879 B
RPMSpec
39 lines
879 B
RPMSpec
Name: sonatype-oss-parent
|
|
Version: 7
|
|
Release: 17
|
|
Summary: Sonatype OSS Parent
|
|
|
|
License: ASL 2.0
|
|
URL: https://github.com/sonatype/oss-parents
|
|
Source: https://github.com/sonatype/oss-parents/archive/oss-parent-%{version}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
|
%description
|
|
Sonatype OSS parent pom that can be used by other sonatype packages.
|
|
|
|
%prep
|
|
%autosetup -p1 -n oss-parents-oss-parent-%{version}
|
|
install -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
|
|
* Wed Oct 28 2020 baizhonggui <baizhonggui@huawei.com> - 7-17
|
|
- Add yaml file
|
|
|
|
* Fri Feb 26 2020 dingyiming <dingyiming3@huawei.com> - 7-16
|
|
- Package init
|