From 2218fac3d61f6e5a1b79dfac06633dfad3273c81 Mon Sep 17 00:00:00 2001 From: HuijingHei Date: Sun, 9 Jun 2024 16:24:23 +0800 Subject: [PATCH] bootupd.spec: remove `%{_unitdir}` Drop systemd service since https://github.com/coreos/bootupd/commit/261fb5e7f28b9bd2c6099fd2d484f158adffb221, so we do not need this. See error in ci log: ``` RPM build errors: File not found: /builddir/build/BUILD/bootupd-xxx-build/BUILDROOT/usr/lib/systemd/system/* ``` --- contrib/packaging/bootupd.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/packaging/bootupd.spec b/contrib/packaging/bootupd.spec index 91da18f1..ebe3c2d3 100644 --- a/contrib/packaging/bootupd.spec +++ b/contrib/packaging/bootupd.spec @@ -29,8 +29,7 @@ BuildRequires: systemd-devel %license LICENSE %doc README.md %{_bindir}/bootupctl -%{_libexecdir}/bootupd -%{_unitdir}/* +%{_libexecdir}/bootupd %{_prefix}/lib/bootupd/grub2-static/ %prep