# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate rstest_reuse Name: rust-rstest_reuse0.1 Version: 0.1.3 Release: %autorelease Summary: Reuse rstest attributes: create a set of tests and apply it to every scenario you want to test # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/rstest_reuse Source: %{crates_source} # Removed circular dependency Patch: rstest_reuse-fix-circle-dep.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Reuse rstest attributes: create a set of tests and apply it to every scenario you want to test.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel # FIXME: no license files detected %doc %{crate_instdir}/README.md %doc %{crate_instdir}/checkoutlist.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} 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 %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test -- --all-targets -- --skip simple_example --skip in_mod --skip import_from_mod --skip deny_docs %endif %changelog %autochangelog