fix(install): Loongarch64 and SW_64 architectures do not install firefox.

- loongarch64和sw64架构不安装firefox.

Signed-off-by: huangjiawen <huangjiawen@kylinsec.com.cn>
This commit is contained in:
huangjiawen 2023-06-09 14:38:24 +08:00
parent 5009d7e6fa
commit b3a14b70a2

View File

@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: kiran-desktop
Version: 2.5.0
Release: 5
Release: 6
Summary: Kiran desktop environment
#Group:
License: MulanPSL-2.0
@ -11,8 +11,6 @@ Source0: %{name}-%{version}.tar.gz
# mate specific settings
Source1: 99_unikylin-mate-marco-general-theme.gschema.override
BuildArch: noarch
Requires: xorg-x11-drivers
Requires: xorg-x11-server-Xorg
Requires: xorg-x11-utils
@ -94,7 +92,10 @@ Requires: libsecret
Requires: lm_sensors
Requires: gnome-disk-utility
Requires: firewall-config
%ifnarch loongarch64 sw_64
Requires: firefox
%endif
Requires: ntfs-3g
Requires: ntfsprogs
@ -183,6 +184,9 @@ install -D -m 0644 %SOURCE1 %{buildroot}%{_datadir}/glib-2.0/schemas/99_unikylin
%changelog
* Fri Jun 09 2023 huangjiawen <huangjiawen@kylinsec.com.cn> - 2.5.0-6
- KYOS-F: Loongarch64 and SW_64 architectures do not install firefox.
* Thu May 25 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.0-5
- KYOS-F: Remove Require mate-polkit