Skip to content

Commit

Permalink
rpm: fix COPR RPMs build for centos-stream-10
Browse files Browse the repository at this point in the history
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
  • Loading branch information
ansasaki committed May 6, 2024
1 parent 660fbfa commit 52f44dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rpm/centos/keylime-agent-rust.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Requires: util-linux-core

# The keylime-base package provides the keylime user creation. It is available
# from Fedora 36
%if 0%{?fedora} >= 36
%if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
Requires: keylime-base
%endif

Expand All @@ -77,7 +77,11 @@ Rust agent for Keylime
%cargo_prep -V 1

%build
%if 0%{?rhel} >= 10
%cargo_build -ftesting
%else
%cargo_build --features=testing
%endif

%install

Expand Down

0 comments on commit 52f44dc

Please sign in to comment.