From e1b8c30a24558c9213e1acfd3e63ce06a87026c3 Mon Sep 17 00:00:00 2001 From: Echo Date: Mon, 13 Apr 2026 01:20:10 +0000 Subject: [PATCH] Fix build-rpm: remove systemd-rpm-macros (Fedora-only, not in Debian repos) --- .github/workflows/ci.yml | 2 +- linux-patch-api.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3118cb3..865af7f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,7 +122,7 @@ jobs: - name: Install RPM build tools run: | apt-get update - apt-get install -y rpm rpm-common gcc build-essential systemd-rpm-macros cargo rustc libsystemd-dev pkg-config + apt-get install -y rpm rpm-common gcc build-essential cargo rustc libsystemd-dev pkg-config - name: Build release binary run: cargo build --release - name: Build RPM package diff --git a/linux-patch-api.spec b/linux-patch-api.spec index 15f3a45..03cfb95 100644 --- a/linux-patch-api.spec +++ b/linux-patch-api.spec @@ -10,7 +10,7 @@ BuildArch: x86_64 # Build requirements BuildRequires: cargo >= 1.75 BuildRequires: rust >= 1.75 -BuildRequires: systemd-rpm-macros +# BuildRequires: systemd-rpm-macros # Not available on Debian - handling systemd manually BuildRequires: pkgconfig(systemd) BuildRequires: gcc