From de2aaba45bea153e98ea00d49a98639a2b4841d3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 21 Jun 2019 21:46:25 +0200 Subject: [PATCH] Update to 0.2.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-want.spec | 30 ++++++++++++++++++------------ sources | 2 +- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 3d7ab63..551676e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /want-0.0.6.crate +/want-0.2.0.crate diff --git a/rust-want.spec b/rust-want.spec index a58e446..aa5e155 100644 --- a/rust-want.spec +++ b/rust-want.spec @@ -1,28 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate want Name: rust-%{crate} -Version: 0.0.6 -Release: 3%{?dist} +Version: 0.2.0 +Release: 1%{?dist} Summary: Detect when another Future wants a result +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/want -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(futures/default) >= 0.1.0 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) -BuildRequires: (crate(try-lock/default) >= 0.2.0 with crate(try-lock/default) < 0.3.0) -%global _description \ -Detect when another Future wants a result. +%global _description %{expand: +Detect when another Future wants a result.} %description %{_description} @@ -53,9 +53,12 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -69,6 +72,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:45:38 CEST 2019 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 6f930fa..11344af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (want-0.0.6.crate) = 65612379ffb46e5baeae46c7f6f3f3f03133ed9a99c5746bb405fd9b1bc3715739be199cf0f4ee3fa1ac5a2f624ca59fae75bfc14de19b4d5c80270c74f82a86 +SHA512 (want-0.2.0.crate) = 1264e8095ba41b6cde85517538449d99f05a40207437bad9b618af3668ad675a3517b3d190e8b962820e2c302146d8d0571b665a1176c090ed75a4e83e8c5b59