Compare commits
No commits in common. "rawhide" and "f35" have entirely different histories.
|
@ -1,4 +1,4 @@
|
|||
# Generated by rust2rpm 23
|
||||
# Generated by rust2rpm 22
|
||||
%bcond_without check
|
||||
|
||||
%global crate jql
|
||||
|
@ -16,6 +16,8 @@ Source1: LICENSE.dependencies
|
|||
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
||||
Patch: jql-fix-metadata.diff
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
|
@ -25,13 +27,13 @@ JSON query language CLI tool.}
|
|||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
# Apache-2.0 OR BSL-1.0
|
||||
# Apache-2.0 OR MIT
|
||||
# ASL 2.0 or Boost
|
||||
# ASL 2.0 or MIT
|
||||
# EPL-2.0
|
||||
# MIT
|
||||
# MIT OR Apache-2.0
|
||||
# Unlicense OR MIT
|
||||
License: MIT AND EPL-2.0 AND (Apache-2.0 OR BSL-1.0)
|
||||
# MIT or ASL 2.0
|
||||
# Unlicense or MIT
|
||||
License: MIT and EPL-2.0 and (ASL 2.0 or Boost)
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
@ -116,18 +118,16 @@ cp %{SOURCE1} .
|
|||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%ifarch %{arm} ppc64le
|
||||
%ifarch %{arm}
|
||||
# * doctests fail to compile on armv7hl with LLVM 14:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2086106
|
||||
# * doctests fail to compile on ppc64le with LLVM 15:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2142648
|
||||
%cargo_test -- --lib
|
||||
%else
|
||||
%cargo_test
|
||||
|
|
Loading…
Reference in New Issue