Skip to content

Commit 52f44dc

Browse files
committed
rpm: fix COPR RPMs build for centos-stream-10
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 660fbfa commit 52f44dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rpm/centos/keylime-agent-rust.spec

+5-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Requires: util-linux-core
5353

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

@@ -77,7 +77,11 @@ Rust agent for Keylime
7777
%cargo_prep -V 1
7878

7979
%build
80+
%if 0%{?rhel} >= 10
81+
%cargo_build -ftesting
82+
%else
8083
%cargo_build --features=testing
84+
%endif
8185

8286
%install
8387

0 commit comments

Comments
 (0)