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
This commit is contained in:
Dirk Mueller 2024-05-09 08:19:57 +00:00 committed by Git OBS Bridge
parent 0f9c2bf699
commit 6a0fa6b94b
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 9 01:39:07 UTC 2024 - Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
- Require zram kernel module (avoid failure on systems with minimal kernel packages)
-------------------------------------------------------------------
Wed Sep 7 00:00:00 CEST 2022 - dsterba@suse.cz

View File

@ -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 <malcolmlewis@opensuse.org>
#
# 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*