Skip to content

Commit

Permalink
copr: fix "No matching package to install: 'rust-packaging'" in
Browse files Browse the repository at this point in the history
RHEL and CentOS Stream package building

Signed-off-by: Xiaofeng Wang <[email protected]>
  • Loading branch information
henrywang committed Jan 17, 2025
1 parent 8c19a54 commit 06bd623
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packaging/rpm-ostree.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,13 @@ ExcludeArch: %{ix86}
%endif

BuildRequires: make
%if 0%{?rhel}
BuildRequires: rust-toolset
%else
BuildRequires: rust-packaging
BuildRequires: cargo
BuildRequires: rust
%endif

# Enable ASAN + UBSAN
%bcond_with sanitizers
Expand Down

0 comments on commit 06bd623

Please sign in to comment.