From c62bf63adb51f4ca1cf3ff1fac295d6889ea580f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 14 Dec 2019 15:23:20 +0100 Subject: [PATCH] Update to 0.4.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-tokio-openssl.spec | 27 +++++++++++++++------------ sources | 2 +- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index afe9ad3..1d72753 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tokio-openssl-0.3.0.crate +/tokio-openssl-0.4.0.crate diff --git a/rust-tokio-openssl.spec b/rust-tokio-openssl.spec index 36c5325..980e1c5 100644 --- a/rust-tokio-openssl.spec +++ b/rust-tokio-openssl.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 9 -%bcond_with check +# Generated by rust2rpm 12 +%bcond_without check %global debug_package %{nil} %global crate tokio-openssl Name: rust-%{crate} -Version: 0.3.0 -Release: 2%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Implementation of SSL streams for Tokio backed by OpenSSL # Upstream license specification: MIT/Apache-2.0 @@ -15,14 +15,11 @@ URL: https://crates.io/crates/tokio-openssl Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(futures/default) >= 0.1.11 with crate(futures/default) < 0.2.0) -BuildRequires: (crate(openssl/default) >= 0.10.1 with crate(openssl/default) < 0.11.0) -BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(tokio/default) >= 0.1.6 with crate(tokio/default) < 0.2.0) -%endif %global _description %{expand: Implementation of SSL streams for Tokio backed by OpenSSL.} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,12 +50,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -71,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 14 15:22:47 CET 2019 Igor Gnatenko - 0.4.0-1 +- Update to 0.4.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index c7fe642..8ae0cc7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tokio-openssl-0.3.0.crate) = 71904a51844dcc68083720a785d230b4d96924277e5a8a68360ae302ba29d795f18b502a1023f7fcbf09c041ce7e248da2c92d55a853657ae47e962dda4307df +SHA512 (tokio-openssl-0.4.0.crate) = 8e59723bf080d6582e9b652ed263ad671dd0ea3b6f13ad7e4ab5c077cfcf7512b9b4bc64f305404d2844699d2a40e223f52be1af80abeffbe962e324dd14d807