From 6a0fa6b94baeb79abe68d93473dd859f4fae31106e8d8d1a8a174445f80b2282 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 9 May 2024 08:19:57 +0000 Subject: [PATCH] Accepting request 1172825 from home:crameleon:branches:filesystems - Require zram kernel module (avoid failure on systems with minimal kernel packages) - Modernize spec file OBS-URL: https://build.opensuse.org/request/show/1172825 OBS-URL: https://build.opensuse.org/package/show/filesystems/systemd-zram-service?expand=0&rev=9 --- systemd-zram-service.changes | 5 +++++ systemd-zram-service.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/systemd-zram-service.changes b/systemd-zram-service.changes index 2d3eeb7..7ce2151 100644 --- a/systemd-zram-service.changes +++ b/systemd-zram-service.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 9 01:39:07 UTC 2024 - Georg Pfuetzenreuter + +- Require zram kernel module (avoid failure on systems with minimal kernel packages) + ------------------------------------------------------------------- Wed Sep 7 00:00:00 CEST 2022 - dsterba@suse.cz diff --git a/systemd-zram-service.spec b/systemd-zram-service.spec index 42e088f..f9d002d 100644 --- a/systemd-zram-service.spec +++ b/systemd-zram-service.spec @@ -1,7 +1,7 @@ # # spec file for package systemd-zram-service # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2012-2018 Malcolm J Lewis # # All modifications and additions to the file contributed by third parties @@ -29,8 +29,8 @@ Source0: zramswap-enabler-0.2.1.tar.bz2 Source1: zramswapon Source2: zramswapoff Source3: zramswap.service +Requires: kmod(zram.ko) Conflicts: compcache -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %systemd_requires @@ -75,7 +75,6 @@ popd %service_del_postun zramswap.service %files -%defattr(-,root,root,-) %doc debian/copyright debian/changelog %{_sbindir}/rczramswap %{_sbindir}/zramswap*