From def91f4369ead06978640233b2d453c738eeb895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 18 Jun 2020 11:21:56 +0200 Subject: [PATCH] Recommend utit-linux but not systemd-detect-virt systemd-detect-virt is only useful if the generator is run, and that only happens when systemd is running, i.e. installed. So the Recommends is not terribly useful. But let's util-linux instead, so users get zramctl which can be used to conveniently check the status. --- rust-zram-generator.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rust-zram-generator.spec b/rust-zram-generator.spec index 1034291..f542fec 100644 --- a/rust-zram-generator.spec +++ b/rust-zram-generator.spec @@ -37,7 +37,8 @@ Summary: %{summary} # MIT # MIT or ASL 2.0 License: MIT -Recommends: /usr/bin/systemd-detect-virt +# for zramctl +Recommends: util-linux %description -n %{crate} %{_description}