Drop test that fails harmlessly with Rust 1.69.0 and newer

epel9
Fabio Valentini 2 years ago
parent b3a1d5dc85
commit a1f3603b50
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,28 +1,22 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate peg
Name: rust-%{crate}
Name: rust-peg
Version: 0.6.3
Release: %autorelease
Summary: Simple Parsing Expression Grammar (PEG) parser generator
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/peg
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Simple Parsing Expression Grammar (PEG) parser generator.}
A simple Parsing Expression Grammar (PEG) parser generator.}
%description %{_description}
@ -32,14 +26,13 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%exclude %{cargo_registry}/%{crate}-%{version}/bootstrap.sh
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,11 +40,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+trace-devel
Summary: %{summary}
@ -59,15 +52,17 @@ BuildArch: noarch
%description -n %{name}+trace-devel %{_description}
This package contains library source intended for building other packages
which use "trace" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "trace" feature of the "%{crate}" crate.
%files -n %{name}+trace-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
# drop test that fails harmlessly with Rust 1.69.0 and newer
rm tests/compile-fail/rust_action_type_error.{rs,stderr}
%generate_buildrequires
%cargo_generate_buildrequires

Loading…
Cancel
Save