diff --git a/0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch b/0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch new file mode 100644 index 0000000000000000000000000000000000000000..a81fee1811a4b65e1b0c7d7c91daaae449ca4974 --- /dev/null +++ b/0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch @@ -0,0 +1,38 @@ +From 39f7d59f412d01f21737a2a0c14306c4c5132a49 Mon Sep 17 00:00:00 2001 +From: heyitao +Date: Fri, 10 Mar 2023 03:21:55 -0500 +Subject: [PATCH] fix:https://gitee.com/src-openeuler/dde-api/issues/I6HXVH + +--- + misc/systemd/system/deepin-login-sound.service | 2 +- + misc/systemd/system/deepin-shutdown-sound.service | 3 ++- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/misc/systemd/system/deepin-login-sound.service b/misc/systemd/system/deepin-login-sound.service +index 35c8671..4f1d533 100644 +--- a/misc/systemd/system/deepin-login-sound.service ++++ b/misc/systemd/system/deepin-login-sound.service +@@ -1,6 +1,6 @@ + [Unit] + Description=Deepin login sound +-Requires=sound.target ++Wants=sound.target + After=dbus.service lightdm.service + + [Service] +diff --git a/misc/systemd/system/deepin-shutdown-sound.service b/misc/systemd/system/deepin-shutdown-sound.service +index bfb313c..4bc5665 100644 +--- a/misc/systemd/system/deepin-shutdown-sound.service ++++ b/misc/systemd/system/deepin-shutdown-sound.service +@@ -1,6 +1,7 @@ + [Unit] + Description=Deepin shutdown sound +-Requisite=sound.target local-fs.target ++Requisite=local-fs.target ++Wants=sound.target + After=sound.target local-fs.target + Before=systemd-logind.service + +-- +2.18.2 + diff --git a/dde-api.spec b/dde-api.spec index c9170ba207ac594a56ccddcc29e0b199b60a9a5f..08760b2089eb9c145de1974f1a2c3d413f90da4e 100644 --- a/dde-api.spec +++ b/dde-api.spec @@ -21,13 +21,17 @@ Name: dde-api Version: 5.4.6 -Release: 2 +Release: 3 Summary: Go-lang bingding for dde-daemon License: GPLv3+ URL: https://shuttle.corp.deepin.com/cache/tasks/19177/unstable-amd64/ Source0: %{name}-%{version}.orig.tar.xz Source1: vendor.tar.gz + +#fix sound service bug +Patch0001: 0001-fix-https-gitee.com-src-openeuler-dde-api-issues-I6H.patch + BuildRequires: libcanberra-devel BuildRequires: deepin-gettext-tools BuildRequires: librsvg2-devel @@ -128,6 +132,9 @@ exit 0 %files -n %{name}-devel -f devel.file-list %changelog +* Fri Mar 10 2023 heyitao - 5.4.6-3 +- Fix sound service failed + * Wed Dec 21 2022 liweiganga - 5.4.6-2 - enable debuginfo for fix strip