remove the buildrequires sonatype-plugins-parent what is deprecated

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2024-01-02 10:32:01 +08:00
parent 26690b5e34
commit d6fb937cd3

View File

@ -1,6 +1,6 @@
Name: munge-maven-plugin
Version: 1.0
Release: 1
Release: 2
Summary: Munge Maven Plugin
License: CDDL-1.0
URL: http://github.com/sonatype/munge-maven-plugin
@ -8,7 +8,6 @@ Source0: https://github.com/sonatype/munge-maven-plugin/archive/mung
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.plugins:plugins-parent:pom:)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildArch: noarch
@ -39,6 +38,7 @@ This package provides %{summary}.
%prep
%setup -q -n %{name}-%{name}-%{version}
%pom_remove_parent
%build
%mvn_build
@ -55,5 +55,8 @@ This package provides %{summary}.
%license LICENSE
%changelog
* Tue Jan 02 2024 xu_ping <707078654@qq.com> - 1.0-2
- Remove unnecessary dependency sonatype-plugins-parent
* Tue Jul 28 2020 leiju <leiju4@huawei.com> - 1.0-1
- Package init