From e01612e54192b55a658074a15fe881c2d872918a48a42eb62a329ebbf1a53258 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 31 Aug 2023 10:04:03 +0000 Subject: [PATCH] Accepting request 1108173 from home:luc14n0:branches:Base:System Obsolete libudisks2-0_bcache and libudisks2-0_zram dropped modules. And drop %{?systemd_requires} unnecessary macro. OBS-URL: https://build.opensuse.org/request/show/1108173 OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=101 --- udisks2.changes | 8 ++++++++ udisks2.spec | 15 +++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/udisks2.changes b/udisks2.changes index d026e96..c32ea9c 100644 --- a/udisks2.changes +++ b/udisks2.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Aug 29 20:28:56 UTC 2023 - Luciano Santos + +- Add Obsoletes tags for libudisks2-0_bcache and libudisks2-0_zram + modules, dropped on latest version bump, so they get removed from + end users' systems upon system upgrade. +- Drop unnecessary/discouraged %{?systemd_requires} from spec file. + ------------------------------------------------------------------- Wed Aug 16 23:33:19 UTC 2023 - Luciano Santos diff --git a/udisks2.spec b/udisks2.spec index b83ce10..4e635fd 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -28,6 +28,11 @@ Group: System/Daemons URL: https://github.com/storaged-project/udisks Source0: %{url}/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2 +# Upstream First - Policy: +# Never add any patches to this package without the upstream commit id +# in the patch. Any patches added here without a very good reason to make +# an exception will be silently removed with the next version update. + Patch0: harden_udisks2.service.patch BuildRequires: chrpath @@ -90,13 +95,11 @@ Requires: util-linux Requires: xfsprogs Recommends: libudisks2-%{soversion}_btrfs -# Add Obsoletes to ease removal of deprecated standalone vdo module + +# Drop deprecated modules from end users' systems upon system upgrade Obsoletes: libudisks2-0_vdo <= 2.9.4 -%{?systemd_requires} -# Upstream First - Policy: -# Never add any patches to this package without the upstream commit id -# in the patch. Any patches added here without a very good reason to make -# an exception will be silently removed with the next version update. +Obsoletes: libudisks2-0_bcache < 2.10 +Obsoletes: libudisks2-0_zram < 2.10 %description The Udisks project provides a daemon, tools and libraries to access and