Skip to content

Commit

Permalink
Merge pull request #5237 from cgwalters/update-spec
Browse files Browse the repository at this point in the history
spec: Add version conditionals
  • Loading branch information
cgwalters authored Jan 21, 2025
2 parents 84a0721 + fbdd6c0 commit 54c5525
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ BuildRequires: rust
%bcond_with sanitizers
# Embedded unit tests
%bcond_with bin_unit_tests
# Don't add the ostree-container binaries
%bcond_without ostree_ext

# Don't add the ostree-container binaries; this version
# conditional needs to be kept in sync with the bootc one.
%if 0%{?rhel} >= 10 || 0%{?fedora} > 41
%bcond_with ostree_ext
%else
%bcond_without ostree_ext
%endif

# This is copied from the libdnf spec
%if 0%{?rhel} && ! 0%{?centos}
Expand Down

0 comments on commit 54c5525

Please sign in to comment.