Add sw64 architecture
This commit is contained in:
parent
4cdeb7edce
commit
80d01ebe4d
29
createrepo_c-Add-sw64-architecture.patch
Normal file
29
createrepo_c-Add-sw64-architecture.patch
Normal file
@ -0,0 +1,29 @@
|
||||
From d30fe3b606fcc5052665c7e00d20fe4374ac4ada Mon Sep 17 00:00:00 2001
|
||||
From: wzx <wuzx1226@qq.com>
|
||||
Date: Fri, 28 Oct 2022 14:57:55 +0800
|
||||
Subject: [PATCH] Add sw64 architecture
|
||||
|
||||
Add sw64 architecture in file src/mergerepo_c.c to support sw64 architecture.
|
||||
|
||||
Signed-off-by: wzx <wuzx1226@qq.com>
|
||||
---
|
||||
src/mergerepo_c.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/src/mergerepo_c.c b/src/mergerepo_c.c
|
||||
index fa26879..bb65a18 100644
|
||||
--- a/src/mergerepo_c.c
|
||||
+++ b/src/mergerepo_c.c
|
||||
@@ -182,6 +182,9 @@ append_arch(GSList *list, gchar *arch, gboolean expand)
|
||||
list = append_arch(list, "alphaev67", FALSE);
|
||||
list = append_arch(list, "alphaev68", FALSE);
|
||||
list = append_arch(list, "alphaev7", FALSE);
|
||||
+ } else if (!g_strcmp0(arch, "sw_64")) {
|
||||
+ list = append_arch(list, "sw_64", FALSE);
|
||||
+ list = append_arch(list, "sw_64sw6b", FALSE);
|
||||
} else if (!g_strcmp0(arch, "armhfp")) {
|
||||
list = append_arch(list, "armv7hl", FALSE);
|
||||
list = append_arch(list, "armv7hnl", FALSE);
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -33,11 +33,13 @@
|
||||
Summary: Creates a common metadata repository
|
||||
Name: createrepo_c
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/createrepo_c
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch1: createrepo_c-Add-sw64-architecture.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: bzip2-devel
|
||||
@ -180,6 +182,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Aug 13 2024 wangjiang <wangjiang37@h-partners.com> - 1.0.1-2
|
||||
- Add sw64 architecture
|
||||
|
||||
* Thu Feb 1 2024 caixiaomeng <caixiaomeng2@huawei.com> - 1.0.1-1
|
||||
- update version to 1.0.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user