From 8b0f795adf96213f27e7cbcfe51d1a2ff7174c64 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 7 Nov 2017 17:09:22 +0100 Subject: [PATCH] initial import Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-quote.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 rust-quote.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..87a5286 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/quote-0.3.15.crate diff --git a/rust-quote.spec b/rust-quote.spec new file mode 100644 index 0000000..2143851 --- /dev/null +++ b/rust-quote.spec @@ -0,0 +1,67 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate quote + +Name: rust-%{crate} +Version: 0.3.15 +Release: 2%{?dist} +Summary: Quasi-quoting macro quote!(...) + +License: MIT or ASL 2.0 +URL: https://crates.io/crates/quote +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 +Quasi-quoting macro quote!(...). + +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.md +%{cargo_registry}/%{crate}-%{version}/ + +%changelog +* Wed Jun 14 2017 Igor Gnatenko - 0.3.15-2 +- Port to use rust-packaging + +* Mon Mar 06 2017 Igor Gnatenko - 0.3.15-1 +- Update to 0.3.15 + +* Tue Feb 28 2017 Igor Gnatenko - 0.3.14-1 +- Update to 0.3.14 + +* Fri Feb 24 2017 Igor Gnatenko - 0.3.13-1 +- Update to 0.3.13 + +* Sat Feb 18 2017 Igor Gnatenko - 0.3.12-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..0a23853 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (quote-0.3.15.crate) = 2e5dbe725c0f76a81c6624181b43b60b95dceac208e2babaad3fa6d1487794805169e2ffd967659e4bb4e1abebe96505be5a1007c514d10f2a63ef282d699ea7