Fix build-rpm: comment out BuildRequires (RPM db check fails in Debian container - tools provided by apt/rust-toolchain)
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 14s
CI/CD Pipeline / Build RPM Package (push) Has been cancelled
CI/CD Pipeline / Build Alpine Package (push) Has been cancelled
CI/CD Pipeline / Build Arch Package (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (push) Has been cancelled
Some checks failed
CI/CD Pipeline / Code Format (push) Successful in 14s
CI/CD Pipeline / Build RPM Package (push) Has been cancelled
CI/CD Pipeline / Build Alpine Package (push) Has been cancelled
CI/CD Pipeline / Build Arch Package (push) Has been cancelled
CI/CD Pipeline / Build Debian Package (push) Has been cancelled
This commit is contained in:
@ -8,11 +8,13 @@ Source0: linux-patch-api-%{version}.tar.gz
|
||||
BuildArch: x86_64
|
||||
|
||||
# Build requirements
|
||||
BuildRequires: cargo >= 1.75
|
||||
BuildRequires: rust >= 1.75
|
||||
# NOTE: BuildRequires checked against RPM db - we're in Debian container
|
||||
# Actual tools provided by: dtolnay/rust-toolchain (cargo/rust) + apt (gcc, libsystemd-dev)
|
||||
# BuildRequires: cargo >= 1.75
|
||||
# BuildRequires: rust >= 1.75
|
||||
# BuildRequires: systemd-rpm-macros # Not available on Debian - handling systemd manually
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: gcc
|
||||
# BuildRequires: pkgconfig(systemd)
|
||||
# BuildRequires: gcc
|
||||
|
||||
# Runtime requirements
|
||||
Requires: systemd
|
||||
|
||||
Reference in New Issue
Block a user