Projects
openEuler:Mainline
os-maven-plugin
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
_service:tar_scm:os-maven-plugin.spec
Changed
@@ -2,7 +2,7 @@ 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/ @@ -11,6 +11,7 @@ Patch0: 0001-Port-to-current-plexus-utils.patch Patch1: 0001-add-loongarch64-support-for-os-maven-plugin.patch +Patch2: 0003-Add_support_for_RISC-V_arch.patch BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) @@ -42,7 +43,7 @@ %if 0%(test `uname -m` == "loongarch64" && echo 1) %patch1 -p1 %endif - +%patch2 -p1 # Remove Eclipse plugin (not needed in Fedora) @@ -66,6 +67,9 @@ %doc LICENSE.txt %changelog +* Mon Jun 26 2023 xiaoqian lv <xiaoqian@nj.iscas.ac.cn> - 1.2.3-3 +- Add support for RISC-V arch + * Thu Mar 9 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.2.3-2 - add loongarch64 support for os-maven-plugin
View file
_service:tar_scm:0003-Add_support_for_RISC-V_arch.patch
Added
@@ -0,0 +1,26 @@ +diff --git a/README.md b/README.md +index f05e7d2..a84c834 100644 +--- a/README.md ++++ b/README.md +@@ -30,6 +30,7 @@ + * `aarch_64` + * `ppc_32` + * `ppc_64` ++ * `riscv64` + + You can also use the `${os.detected.classifier}` property, which is a shortcut of `${os.detected.name}-${os.detected.arch}`. + +diff --git a/src/main/java/kr/motd/maven/os/Detector.java b/src/main/java/kr/motd/maven/os/Detector.java +index 9dd6688..190144b 100644 +--- a/src/main/java/kr/motd/maven/os/Detector.java ++++ b/src/main/java/kr/motd/maven/os/Detector.java +@@ -133,6 +133,9 @@ public abstract class Detector { + if (value.equals("ppc64")) { + return "ppc_64"; + } ++ if (value.equals("riscv64")) { ++ return "riscv64"; ++ } + + return UNKNOWN; + }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2