Upgrade version to 5.3.3
Signed-off-by: cherry530 <707078654@qq.com>
This commit is contained in:
parent
2966511ff5
commit
a6cb41627c
@ -4,29 +4,27 @@ Date: Fri, 23 Sep 2022 12:13:19 +0800
|
||||
Subject: [PATCH] fix-cannot-detect-package-manager-on-UnionTech
|
||||
|
||||
---
|
||||
src/ph_rpm.ml | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
src/ph_rpm.ml | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml
|
||||
index 549bd9a..11c49b4 100644
|
||||
index 85557fe..f2d9d3e 100644
|
||||
--- a/src/ph_rpm.ml
|
||||
+++ b/src/ph_rpm.ml
|
||||
@@ -32,11 +32,13 @@ let stringset_of_list pkgs =
|
||||
@@ -32,11 +32,12 @@ let stringset_of_list pkgs =
|
||||
let fedora_detect () =
|
||||
Config.rpm <> "no" && Config.rpm2cpio <> "no" && rpm_is_available () &&
|
||||
(Config.yumdownloader <> "no" || Config.dnf <> "no") &&
|
||||
- (List.mem (Os_release.get_id ()) [ "fedora"; "rhel"; "centos"; "openEuler" ] ||
|
||||
+ (List.mem (Os_release.get_id ()) [ "fedora"; "rhel"; "centos"; "openEuler"; "uos" ] ||
|
||||
- (List.mem (Os_release.get_id ()) [ "fedora"; "rhel"; "centos"; "openEuler"; "anolis" ] ||
|
||||
+ (List.mem (Os_release.get_id ()) [ "fedora"; "rhel"; "centos"; "openEuler"; "anolis"; "uos" ] ||
|
||||
try
|
||||
(stat "/etc/redhat-release").st_kind = S_REG ||
|
||||
(stat "/etc/fedora-release").st_kind = S_REG ||
|
||||
- (stat "/etc/openEuler-release").st_kind = S_REG
|
||||
(stat "/etc/openEuler-release").st_kind = S_REG ||
|
||||
+ (stat "/etc/UnionTech-release").st_kind = S_REG ||
|
||||
+ (stat "/etc/openEuler-release").st_kind = S_REG
|
||||
+
|
||||
(stat "/etc/anolis-release").st_kind = S_REG
|
||||
with Unix_error _ -> false)
|
||||
|
||||
let opensuse_detect () =
|
||||
--
|
||||
2.30.0
|
||||
|
||||
|
||||
Binary file not shown.
BIN
supermin-5.3.3.tar.gz
Normal file
BIN
supermin-5.3.3.tar.gz
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
Name: supermin
|
||||
Version: 5.3.2
|
||||
Version: 5.3.3
|
||||
Release: 1
|
||||
Summary: A tool for building supermin appliances, required by libguestfs
|
||||
License: GPLv2+
|
||||
@ -68,6 +68,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Sun Oct 08 2023 xu_ping<707078654@qq.com> -5.3.3-1
|
||||
- Update to version 5.3.3
|
||||
|
||||
* Thu Sep 22 2022 chendexi<chendexi@kylinos.cn> -5.3.2-1
|
||||
- Update to version 5.3.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user