fix the architecture cannot be identified causes failure

Signed-off-by: cherry530 <707078654@qq.com>
(cherry picked from commit 10fed658f7f58ca12707a783a0be291abc697789)
This commit is contained in:
cherry530 2024-03-07 17:31:29 +08:00 committed by openeuler-sync-bot
parent 8a81b84de8
commit 527dc6fed9
4 changed files with 7 additions and 3 deletions

View File

@ -2,15 +2,16 @@
Name: os-maven-plugin
Version: 1.2.3
Release: 2
Release: 3
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
Patch1: 0003-Add_support_for_RISC-V_arch.patch
Patch0: Port-to-current-plexus-utils.patch
Patch1: Add_support_for_RISC-V_arch.patch
Patch2: 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)
@ -60,6 +61,9 @@ find -name plugin.xml -delete
%doc LICENSE.txt
%changelog
* Thu Mar 07 2024 xu_ping<707078654@qq.com> - 1.2.3-3
- fix the architecture cannot be identified causes failure
* Mon Jun 26 2023 xiaoqian lv <xiaoqian@nj.iscas.ac.cn> - 1.2.3-2
- Add support for RISC-V arch