diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-01 15:49:12 -0700 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2022-04-01 15:49:12 -0700 |
| commit | 0fd1e4ab8441ccaa2a3b176208f52faf6c4b3cc9 (patch) | |
| tree | acb6622a90ee1af8e9c6d78c457310df850df8cf /rust | |
| parent | d939fbc292aac2cad6e64c174514558c998da242 (diff) | |
| download | specs-0fd1e4ab8441ccaa2a3b176208f52faf6c4b3cc9.tar.gz specs-0fd1e4ab8441ccaa2a3b176208f52faf6c4b3cc9.tar.xz specs-0fd1e4ab8441ccaa2a3b176208f52faf6c4b3cc9.zip | |
+ rust-radix-heap
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/rust-radix-heap.spec | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/rust/rust-radix-heap.spec b/rust/rust-radix-heap.spec new file mode 100644 index 0000000..3cfc51d --- /dev/null +++ b/rust/rust-radix-heap.spec @@ -0,0 +1,83 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate radix-heap + +Name: rust-%{crate} +Version: 0.4.2 +Release: %autorelease +Summary: Fast monotone priority queues + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/radix-heap +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Fast monotone priority queues.} + +%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 +%doc %{crate_instdir}/README.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}+ordered-float-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ordered-float-devel %{_description} + +This package contains library source intended for building other packages which +use the "ordered-float" feature of the "%{crate}" crate. + +%files -n %{name}+ordered-float-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog |
