# Generated by rust2rpm 27 # * missing dev-dependencies: permutator ^0.4, test-strategy ^0.3.1 %bcond check 0 %global debug_package %{nil} %global crate rangemap Name: rust-rangemap Version: 1.6.0 Release: %autorelease Summary: Map and set data structures whose keys are stored as ranges # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/rangemap Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Map and set data structures whose keys are stored as ranges. Contiguous and overlapping ranges that map to the same value are coalesced into a single range.} %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.fuzz.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %exclude %{crate_instdir}/bors.toml %exclude %{crate_instdir}/pre_commit.sh %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}+const_fn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+const_fn-devel %{_description} This package contains library source intended for building other packages which use the "const_fn" feature of the "%{crate}" crate. %files -n %{name}+const_fn-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quickcheck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quickcheck-devel %{_description} This package contains library source intended for building other packages which use the "quickcheck" feature of the "%{crate}" crate. %files -n %{name}+quickcheck-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}+serde1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde1-devel %{_description} This package contains library source intended for building other packages which use the "serde1" feature of the "%{crate}" crate. %files -n %{name}+serde1-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