From 860433664c2b28b68c5faab775a5caca7796a819 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Thu, 1 Jun 2023 16:08:21 +0800 Subject: [PATCH] add Obsoletes peony-extensions <= 3.10.0-1 --- peony-extensions.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/peony-extensions.spec b/peony-extensions.spec index a5cc2e0..7ff7d66 100644 --- a/peony-extensions.spec +++ b/peony-extensions.spec @@ -1,6 +1,6 @@ Name: peony-extensions Version: 3.10.0 -Release: 3 +Release: 4 Summary: adds extended functionality to the Peony file manager. License: GPLv3 and LGPLv3 URL: http://www.ukui.org @@ -80,6 +80,7 @@ picture and right click to quickly set as wallpaper. %package -n peony-bluetooth Summary: Peony plugin for right click a file to send to other devices via Bluetooth Recommends: ukui-bluetooth +Obsoletes: peony-extensions <= 3.10.0-1 %description -n peony-bluetooth In addition to sending files in ukui-bluetooth, you can also choose one @@ -88,6 +89,7 @@ File, then right-click to quickly send the file. %package -n peony-send-to-device Summary: Peony plugin for right click a file to send to mobile devices +Obsoletes: peony-extensions <= 3.10.0-1 %description -n peony-send-to-device In addition to copy files to mobile device, you can also choose one @@ -127,12 +129,12 @@ rm -rf $RPM_BUILD_ROOT #DEBHELPER# if [ ! -d '/var/lib/samba/usershares' ];then - mkdir -p /var/lib/samba/usershare - groupadd sambashare &> /dev/null ||: - chown root:sambashare /var/lib/samba/usershare - chmod 0770 /var/lib/samba/usershare - chmod +t /var/lib/samba/usershare + mkdir -p /var/lib/samba/usershares fi +groupadd sambashare &> /dev/null ||: +chown root:sambashare /var/lib/samba/usershares +chmod 0770 /var/lib/samba/usershares +chmod +t /var/lib/samba/usershares %preun @@ -167,6 +169,9 @@ fi %{_libdir}/peony-extensions/libpeony-drive-rename.so %changelog +* Thu Jun 01 2023 peijiankang - 3.10.0-4 +- add Obsoletes peony-extensions <= 3.10.0-1 + * Wed Feb 08 2023 peijiankang - 3.10.0-3 - sync packaging format -- Gitee