diff --git a/0001-CVE-fix-mock-test.patch b/0001-CVE-fix-mock-test.patch new file mode 100644 index 0000000000000000000000000000000000000000..6e6f9b2ba52c96188d60d7445bd962764bab2578 --- /dev/null +++ b/0001-CVE-fix-mock-test.patch @@ -0,0 +1,24 @@ +From dbab20df9dda970ca70a2b04a4d241f0158676b9 Mon Sep 17 00:00:00 2001 +From: lipingEmmaSiguyi <1477412247@qq.com> +Date: Thu, 10 Apr 2025 16:46:13 +0800 +Subject: [PATCH] CVE fix mock test + +--- + openEuler.desktop | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/openEuler.desktop b/openEuler.desktop +index b326b98..8854989 100755 +--- a/openEuler.desktop ++++ b/openEuler.desktop +@@ -3,6 +3,6 @@ Version=1.0 + Type=Application + Name=easysoftware + Exec=xdg-open https://easysoftware.openeuler.org/zh +-Icon=/usr/share/applications/openEuler.jpg ++Icon=/usr/share/applications/openEuler-icon.png + Comment=Open openEuler easysoftware site in your default web browser + Terminal=false +-- +2.48.1 + diff --git a/devstation-config-2.tar.xz b/devstation-config-2.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..048cc284fb22d8bbd293b6071b0f031b549df781 Binary files /dev/null and b/devstation-config-2.tar.xz differ diff --git a/devstation-config.spec b/devstation-config.spec index db155df766c9768a9d04ed21d79e74d1e2966800..198083e47b4a78c592e08e03c2594728550cb222 100644 --- a/devstation-config.spec +++ b/devstation-config.spec @@ -1,24 +1,27 @@ Name: devstation-config Version: 2 -Release: 3 +Release: 4 Summary: A shortcut to openEuler official site -License: LGPLv3 -Source0: openEuler.desktop -Source1: openEuler.jpg -Source2: devstation-config.gschema.override -#BuildRequires: +License: LGPLv3 +Source0: devstation-config.tar.gz +Patch0: 0001-CVE-fix-mock-test.patch Requires: gnome-shell-extension-dash-to-dock +%global debug_package %{nil} + +%prep +%autosetup -p1 + %description A shortcut to openEuler official site. %install %{__mkdir} -p %{buildroot}%{_datadir}/applications -%{__cp} %{_sourcedir}/{openEuler.desktop,openEuler.jpg} %{buildroot}%{_datadir}/applications -install -D -m 0644 %SOURCE2 %{buildroot}%{_datadir}/glib-2.0/schemas/80_devstation-config.gschema.override +%{__cp} %{_builddir}/devstation-config-2/{openEuler.desktop,openEuler.jpg} %{buildroot}%{_datadir}/applications +install -D -m 0644 %{_builddir}/devstation-config-2/devstation-config.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/80_devstation-config.gschema.override %post echo "Trying to install the shortcut to user desktops..." @@ -38,6 +41,10 @@ echo " Installed to \"root\"." %{_datadir}/glib-2.0/schemas/80_devstation-config.gschema.override %changelog +* Fri Apr 11 2025 lipingEmmaSiguyi <1477412247@qq.com> - 2-4 +- Add CVE fix patch for icon path +- Update icon path in desktop file + * Mon Mar 24 2025 Liu wang <1823363429@qq.com> - 2-3 - Filter out dir from /home path diff --git a/devstation-config.tar.gz b/devstation-config.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6b22ff65780ed046590b4a6526c6ce5c6edf5842 Binary files /dev/null and b/devstation-config.tar.gz differ