From 47964ba0ddd73339dcca198cc6df8da9951a6e04 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sep 10 2018 17:24:28 +0000 Subject: initial import Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4aa888f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/recycler-0.1.4.crate diff --git a/rust-recycler.spec b/rust-recycler.spec new file mode 100644 index 0000000..13175af --- /dev/null +++ b/rust-recycler.spec @@ -0,0 +1,55 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate recycler + +Name: rust-%{crate} +Version: 0.1.4 +Release: 1%{?dist} +Summary: Small Rust library for recycling types containing owned memory + +License: MIT +URL: https://crates.io/crates/recycler +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 +A small Rust library for recycling types containing owned memory. + +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 +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Mon Sep 10 2018 Igor Gnatenko - 0.1.4-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..eb40262 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (recycler-0.1.4.crate) = 118b98239ba199754541bf47739d9fc79d66061d736630412f5511fece69f185ce8fa0ddc91fd6bf36a015c0f05af7016694e1cd6e5390f371ae561b52bae24b