# Generated by rust2rpm 25 %bcond_with check %global debug_package %{nil} %global crate sled Name: rust-sled Version: 0.34.7 Release: %autorelease Summary: Lightweight high-performance pure-rust transactional embedded database # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/sled Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Lightweight high-performance pure-rust transactional embedded database.} %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}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/RELEASE_CHECKLIST.md %doc %{crate_instdir}/SAFETY.md %doc %{crate_instdir}/SECURITY.md %doc %{crate_instdir}/code-of-conduct.md %doc %{crate_instdir}/tsan_suppressions.txt %{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}+backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+backtrace-devel %{_description} This package contains library source intended for building other packages which use the "backtrace" feature of the "%{crate}" crate. %files -n %{name}+backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+color-backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-backtrace-devel %{_description} This package contains library source intended for building other packages which use the "color-backtrace" feature of the "%{crate}" crate. %files -n %{name}+color-backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compression-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compression-devel %{_description} This package contains library source intended for building other packages which use the "compression" feature of the "%{crate}" crate. %files -n %{name}+compression-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+docs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+docs-devel %{_description} This package contains library source intended for building other packages which use the "docs" feature of the "%{crate}" crate. %files -n %{name}+docs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+event_log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+event_log-devel %{_description} This package contains library source intended for building other packages which use the "event_log" feature of the "%{crate}" crate. %files -n %{name}+event_log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+failpoints-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+failpoints-devel %{_description} This package contains library source intended for building other packages which use the "failpoints" feature of the "%{crate}" crate. %files -n %{name}+failpoints-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io_uring-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io_uring-devel %{_description} This package contains library source intended for building other packages which use the "io_uring" feature of the "%{crate}" crate. %files -n %{name}+io_uring-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lock_free_delays-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lock_free_delays-devel %{_description} This package contains library source intended for building other packages which use the "lock_free_delays" feature of the "%{crate}" crate. %files -n %{name}+lock_free_delays-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+measure_allocs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+measure_allocs-devel %{_description} This package contains library source intended for building other packages which use the "measure_allocs" feature of the "%{crate}" crate. %files -n %{name}+measure_allocs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+miri_optimizations-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+miri_optimizations-devel %{_description} This package contains library source intended for building other packages which use the "miri_optimizations" feature of the "%{crate}" crate. %files -n %{name}+miri_optimizations-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mutex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mutex-devel %{_description} This package contains library source intended for building other packages which use the "mutex" feature of the "%{crate}" crate. %files -n %{name}+mutex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_inline-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_inline-devel %{_description} This package contains library source intended for building other packages which use the "no_inline" feature of the "%{crate}" crate. %files -n %{name}+no_inline-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_logs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_logs-devel %{_description} This package contains library source intended for building other packages which use the "no_logs" feature of the "%{crate}" crate. %files -n %{name}+no_logs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_metrics-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_metrics-devel %{_description} This package contains library source intended for building other packages which use the "no_metrics" feature of the "%{crate}" crate. %files -n %{name}+no_metrics-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pretty_backtrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pretty_backtrace-devel %{_description} This package contains library source intended for building other packages which use the "pretty_backtrace" feature of the "%{crate}" crate. %files -n %{name}+pretty_backtrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rio-devel %{_description} This package contains library source intended for building other packages which use the "rio" feature of the "%{crate}" crate. %files -n %{name}+rio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+testing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+testing-devel %{_description} This package contains library source intended for building other packages which use the "testing" feature of the "%{crate}" crate. %files -n %{name}+testing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zstd-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zstd-devel %{_description} This package contains library source intended for building other packages which use the "zstd" feature of the "%{crate}" crate. %files -n %{name}+zstd-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