35 lines
901 B
RPMSpec
35 lines
901 B
RPMSpec
Name: kohsuke-pom
|
|
Version: 14
|
|
Release: 1
|
|
Summary: Kohsuke parent POM
|
|
License: MIT
|
|
URL: https://github.com/kohsuke/pom
|
|
Source0: https://github.com/kohsuke/pom/archive/pom-%{version}.tar.gz
|
|
Source1: https://raw.github.com/kohsuke/youdebug/youdebug-1.5/LICENSE.txt
|
|
BuildArch: noarch
|
|
BuildRequires: maven-local
|
|
%description
|
|
This package contains Kohsuke parent POM file.
|
|
|
|
%prep
|
|
%setup -q -n pom-pom-%{version}
|
|
cp %{SOURCE1} LICENSE
|
|
%pom_xpath_remove pom:extensions
|
|
%pom_remove_plugin :nexus-staging-maven-plugin
|
|
%pom_remove_plugin :gmaven-plugin
|
|
%pom_remove_plugin :maven-site-plugin
|
|
%pom_remove_plugin :maven-release-plugin
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc LICENSE
|
|
|
|
%changelog
|
|
* Wed Jul 22 2020 wangchong <wangchong56@huawei.com> - 14-1
|
|
- package init
|