# Generated by rust2rpm 27 %bcond check 1 %global debug_package %{nil} %global crate lasso Name: rust-lasso Version: 0.7.3 Release: %autorelease Summary: A fast, concurrent string interner for Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/lasso Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Remove criterion benchmarking Patch: lasso-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A multithreaded and single threaded string interner that allows strings to be cached with a minimal memory footprint, associating them with a unique key that can be used to retrieve them at any time.} %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 %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/Changelog.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/before_release.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 %package -n %{name}+ahash-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ahash-devel %{_description} This package contains library source intended for building other packages which use the "ahash" feature of the "%{crate}" crate. %files -n %{name}+ahash-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ahasher-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ahasher-devel %{_description} This package contains library source intended for building other packages which use the "ahasher" feature of the "%{crate}" crate. %files -n %{name}+ahasher-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dashmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dashmap-devel %{_description} This package contains library source intended for building other packages which use the "dashmap" feature of the "%{crate}" crate. %files -n %{name}+dashmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+inline-more-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+inline-more-devel %{_description} This package contains library source intended for building other packages which use the "inline-more" feature of the "%{crate}" crate. %files -n %{name}+inline-more-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+multi-threaded-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+multi-threaded-devel %{_description} This package contains library source intended for building other packages which use the "multi-threaded" feature of the "%{crate}" crate. %files -n %{name}+multi-threaded-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no-std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no-std-devel %{_description} This package contains library source intended for building other packages which use the "no-std" feature of the "%{crate}" crate. %files -n %{name}+no-std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serialize-devel %{_description} This package contains library source intended for building other packages which use the "serialize" feature of the "%{crate}" crate. %files -n %{name}+serialize-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 %endif %changelog %autochangelog