Add sw64 architecture
Signed-off-by: wuzx <wuzx1226@qq.com> (cherry picked from commit c3d778b18ea927116b843307cf2ff6d849d8298b)
This commit is contained in:
parent
726a039d02
commit
710f6e9db5
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
|
||||||
|
@@ -180,6 +180,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,10 +33,11 @@
|
|||||||
Summary: Creates a common metadata repository
|
Summary: Creates a common metadata repository
|
||||||
Name: createrepo_c
|
Name: createrepo_c
|
||||||
Version: 0.17.6
|
Version: 0.17.6
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/rpm-software-management/createrepo_c
|
URL: https://github.com/rpm-software-management/createrepo_c
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Patch1: createrepo_c-Add-sw64-architecture.patch
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -178,6 +179,9 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2022 wuzx<wuzx1226@qq.com> - 0.17.6-3
|
||||||
|
- Add sw64 architecture
|
||||||
|
|
||||||
* Sat Oct 22 2022 yanglongkang <yanglongkang@h-partners.com> - 0.17.6-2
|
* Sat Oct 22 2022 yanglongkang <yanglongkang@h-partners.com> - 0.17.6-2
|
||||||
- add the dynamic library file in the rpm package to the ldconfig management
|
- add the dynamic library file in the rpm package to the ldconfig management
|
||||||
fix rpmbuild warning
|
fix rpmbuild warning
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user