Skip to content

Commit a115560

Browse files
committed
spec: fix build with rhsm
The Go macros for Fedora, RHEL 10, and ELN (the future RHEL 11) are all in sync; only RHEL 9 and earlier need the old syntax. Signed-off-by: Yaakov Selkowitz <[email protected]>
1 parent 455301e commit a115560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/packaging/bootc.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Provides: ostree-cli(ostree-container)
6767
%cargo_prep -v vendor
6868

6969
%build
70-
%if 0%{?rhel} == 10
70+
%if 0%{?fedora} || 0%{?rhel} >= 10
7171
%cargo_build %{?with_rhsm:-f rhsm}
7272
%else
7373
%cargo_build %{?with_rhsm:--features rhsm}

0 commit comments

Comments
 (0)