!128 [sync] PR-123: 添加sw架构
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
7e1d361b2d
11
dnf-4.10.0-sw.patch
Executable file
11
dnf-4.10.0-sw.patch
Executable file
@ -0,0 +1,11 @@
|
||||
diff -Naur dnf-4.10.0.org/dnf/rpm/__init__.py dnf-4.10.0.sw/dnf/rpm/__init__.py
|
||||
--- dnf-4.10.0.org/dnf/rpm/__init__.py 2022-02-27 01:21:45.610000000 +0000
|
||||
+++ dnf-4.10.0.sw/dnf/rpm/__init__.py 2022-02-27 01:22:17.040000000 +0000
|
||||
@@ -87,6 +87,7 @@
|
||||
|
||||
_BASEARCH_MAP = _invert({
|
||||
'aarch64': ('aarch64',),
|
||||
+ 'sw_64': ('sw_64',),
|
||||
'alpha': ('alpha', 'alphaev4', 'alphaev45', 'alphaev5', 'alphaev56',
|
||||
'alphaev6', 'alphaev67', 'alphaev68', 'alphaev7', 'alphapca56'),
|
||||
'arm': ('armv5tejl', 'armv5tel', 'armv5tl', 'armv6l', 'armv7l', 'armv8l'),
|
||||
8
dnf.spec
8
dnf.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: dnf
|
||||
Version: 4.10.0
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: A software package manager that manages packages on Linux distributions.
|
||||
License: GPLv2+ and GPLv2 and GPL
|
||||
URL: https://github.com/rpm-software-management/dnf
|
||||
@ -17,6 +17,9 @@ Patch9004: fix-dnf-history-undo-error-when-history-sqlite-missing.pat
|
||||
|
||||
Patch6000: backport-fix-dnf-mark-error-when-history-sqlite-missing.patch
|
||||
Patch6001: backport-Fix-Python-dnf-API-does-not-respect-cacheonly-RhBug1862970.patch
|
||||
%ifarch sw_64
|
||||
Patch6002: dnf-4.10.0-sw.patch
|
||||
%endif
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: cmake gettext systemd bash-completion python3-sphinx
|
||||
@ -228,6 +231,9 @@ ln -sr %{buildroot}%{_sysconfdir}/%{name}/vars %{buildroot}%{_sysconfdir}/yum/v
|
||||
%{_mandir}/man8/%{name}-automatic.8*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 28 2022 wuzx<wuzx1226@qq.com> - 4.10.0-8
|
||||
- add sw64 patch
|
||||
|
||||
* Thu Jun 28 2022 chenhaixing <chenhaixing@huawei.com> - 4.10.0-7
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user