From 8a9e3182bba4c5cc5dd508d88468390766569d76 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 6 Nov 2017 17:23:50 +0100 Subject: [PATCH] initial import Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-fixedbitset.spec | 58 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+) create mode 100644 .gitignore create mode 100644 rust-fixedbitset.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6619753 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/fixedbitset-0.1.8.crate diff --git a/rust-fixedbitset.spec b/rust-fixedbitset.spec new file mode 100644 index 0000000..a9186c8 --- /dev/null +++ b/rust-fixedbitset.spec @@ -0,0 +1,58 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate fixedbitset + +Name: rust-%{crate} +Version: 0.1.8 +Release: 1%{?dist} +Summary: Simple bitset collection + +License: MIT or ASL 2.0 +URL: https://crates.io/crates/fixedbitset +Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +FixedBitSet is a simple bitset collection. + +This package contains library source intended for building other packages +which use %{crate} from crates.io. + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.rst +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Sat Nov 04 2017 Igor Gnatenko - 0.1.8-1 +- Update to 0.1.8 + +* Fri Jun 16 2017 Igor Gnatenko - 0.1.6-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3ab0f7d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fixedbitset-0.1.8.crate) = 51cf30804f764dbddedfe0d6f95aae064c76d26be8187dd4e78df739479e11adf04c897d879fc19ea5bd013f9dd85fd94a136ebbc4709c81ba07354fafe1f0b1