|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate test-case
|
|
|
|
%global crate test-case
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-test-case
|
|
|
|
Name: rust-test-case
|
|
|
|
Version: 2.2.2
|
|
|
|
Version: 3.2.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Procedural macro attribute for generating parametrized test cases
|
|
|
|
Summary: Procedural macro attribute for generating parametrized test cases
|
|
|
|
|
|
|
|
|
|
|
@ -15,10 +15,9 @@ Source: %{crates_source}
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
# * drop acceptance tests that are not included in published crates
|
|
|
|
# * drop acceptance tests that are not included in published crates
|
|
|
|
# * exclude some files that are only useful for upstream development
|
|
|
|
# * exclude some files that are only useful for upstream development
|
|
|
|
# * relax version restrictions on dev-dependencies
|
|
|
|
|
|
|
|
Patch: test-case-fix-metadata.diff
|
|
|
|
Patch: test-case-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Provides #[test_case(...)] procedural macro attribute for generating
|
|
|
|
Provides #[test_case(...)] procedural macro attribute for generating
|
|
|
@ -78,7 +77,7 @@ use the "with-regex" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
# integration tests rely on files that are not included in published crates
|
|
|
|
# integration tests rely on files that are not included in published crates
|
|
|
|
rm tests/acceptance_tests.rs
|
|
|
|
rm tests/acceptance_tests.rs
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|