From 6ef843bce621401c0d2367da753e7b464f5fbf1f Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 18 Mar 2023 21:15:26 +0100 Subject: [PATCH] lvm2: Do not ship /run and it's content This violetes our FHS specs Signed-off-by: Stefan Schantl --- lvm2/lvm2.nm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lvm2/lvm2.nm b/lvm2/lvm2.nm index abcdd1bd9..4acd10799 100644 --- a/lvm2/lvm2.nm +++ b/lvm2/lvm2.nm @@ -5,7 +5,7 @@ name = lvm2 version = 2.03.16 -release = 1 +release = 2 thisapp = LVM2.%{version} groups = System/Base @@ -72,6 +72,9 @@ build make install_systemd_units DESTDIR=%{BUILDROOT} make install_systemd_generators DESTDIR=%{BUILDROOT} make install_tmpfiles_configuration DESTDIR=%{BUILDROOT} + + # Remove /run and it's content. + rm -rvf %{BUILDROOT}/run end end -- 2.47.3