lvm2: Do not ship /run and it's content

This violetes our FHS specs

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl 2023-03-18 21:15:26 +01:00 committed by Michael Tremer
parent 2fec7288a7
commit 6ef843bce6
1 changed files with 4 additions and 1 deletions

View File

@ -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