From 5ae241800c90d3478a3afd4f2063bf05d0009d60 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Thu, 13 Feb 2020 16:41:20 -0500 Subject: [PATCH] Unretirement for https://pagure.io/releng/issue/9248 Revert "Switched to -preview for some unknown time" This reverts commit dc332035f94ab5297a2ce2f47a2078a9c0caf6cd. --- .gitignore | 1 + README.md | 3 +++ dead.package | 1 - rust-futures-timer.spec | 60 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 README.md delete mode 100644 dead.package create mode 100644 rust-futures-timer.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fa0506 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/futures-timer-0.1.1.crate diff --git a/README.md b/README.md new file mode 100644 index 0000000..92ce86a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# rust-futures-timer + +The rust-futures-timer package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 5b4308e..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Switched to -preview for some unknown time diff --git a/rust-futures-timer.spec b/rust-futures-timer.spec new file mode 100644 index 0000000..f7dee50 --- /dev/null +++ b/rust-futures-timer.spec @@ -0,0 +1,60 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate futures-timer + +Name: rust-%{crate} +Version: 0.1.1 +Release: 2%{?dist} +Summary: Timeouts and intervals for futures + +License: MIT or ASL 2.0 +URL: https://crates.io/crates/futures-timer +Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +# [dependencies] +BuildRequires: (crate(futures) >= 0.1.0 with crate(futures) < 0.2.0) + +%description +%{summary}. + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel +Timeouts and intervals for futures. + +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 +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jul 11 2018 Igor Gnatenko - 0.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..fe91e9b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (futures-timer-0.1.1.crate) = db4103ec11b571097020be15733bdbdf5b4e21ae6bc23a8438f9921bb8975d96bee75bb3fa9d3521092a149096f84269cda2e20d6173e3b4ed2092399c9fff2e