From 2f976cb8675ff638423dd6ca15a98dfc965a8901 Mon Sep 17 00:00:00 2001 From: yangfeng Date: Sun, 7 Apr 2024 09:24:35 +0800 Subject: [PATCH] Modify the require isoft-menus to different menus for different systems --- mate-desktop.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/mate-desktop.spec b/mate-desktop.spec index 1a5be95..7ec53a2 100644 --- a/mate-desktop.spec +++ b/mate-desktop.spec @@ -49,7 +49,14 @@ BuildRequires: cairo-gobject-devel BuildRequires: gdb-headless Requires: %{name}-libs%{?_isa} = %{version}-%{release} +%if 0%{?openEuler} +Requires: %{_vendor}-menus +%elif 0%{?rhel} +Requires: redhat-menus +%else Requires: isoft-menus +%endif + Requires: xdg-user-dirs-gtk Requires: mate-control-center-filesystem Requires: mate-panel @@ -233,6 +240,9 @@ install -m 644 %SOURCE5 %{buildroot}/%{_datadir}/applications/mate-mimeapps.list %changelog +* Sun Apr 07 2024 yangfeng - 1.22.2-2 +- Modify the require isoft-menus to different menus for different systems + * Fri Sep 20 2019 Wolfgang Ulbrich - 1.22.2-1 - update 1.22.2 release -- Gitee