fix the architecture cannot be identified causes failure

Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
cherry530 2024-03-07 17:37:32 +08:00
parent 2f60a2c47c
commit 7b7df4d8af
3 changed files with 6 additions and 2 deletions

View File

@ -2,14 +2,15 @@
Name: os-maven-plugin
Version: 1.2.3
Release: 1
Release: 2
Summary: Maven plugin for generating platform-dependent properties
License: ASL 2.0
URL: https://github.com/trustin/os-maven-plugin/
BuildArch: noarch
Source0: https://github.com/trustin/%{name}/archive/%{name}-%{version}.Final.tar.gz
Patch0: 0001-Port-to-current-plexus-utils.patch
Patch0: Port-to-current-plexus-utils.patch
Patch1: Don-t-fail-on-unknown-arch.patch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
@ -59,5 +60,8 @@ find -name plugin.xml -delete
%doc LICENSE.txt
%changelog
* Thu Mar 07 2024 xu_ping <707078654@qq.com> - 1.2.3-2
- fix the architecture cannot be identified causes failure
* Wed Jul 29 2020 wangxiao <wangxiao65@huawei.com> - 1.2.3-1
- package init