From 6c218a1e790886dd123cb4b2595a959063a5db8a Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 1 Sep 2019 19:35:20 +0200 Subject: [PATCH] Update to 0.2.1 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-hex-literal.spec | 27 +++++++++++++++++---------- sources | 2 +- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index e5b265b..1df79f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hex-literal-0.2.0.crate +/hex-literal-0.2.1.crate diff --git a/rust-hex-literal.spec b/rust-hex-literal.spec index e6230bb..cdf00ce 100644 --- a/rust-hex-literal.spec +++ b/rust-hex-literal.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate hex-literal Name: rust-%{crate} -Version: 0.2.0 -Release: 2%{?dist} -Summary: Procedural macro for converting hexadecimal string +Version: 0.2.1 +Release: 1%{?dist} +Summary: Procedural macro for converting hexadecimal string to byte array at compile time # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -15,14 +15,15 @@ URL: https://crates.io/crates/hex-literal Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(hex-literal-impl/default) >= 0.2.0 with crate(hex-literal-impl/default) < 0.3.0) -BuildRequires: (crate(proc-macro-hack/default) >= 0.5.0 with crate(proc-macro-hack/default) < 0.6.0) -%global _description \ -Procedural macro for converting hexadecimal string to byte array at compile\ -time. +%global _description %{expand: +Procedural macro for converting hexadecimal string to byte array at compile +time.} %description %{_description} @@ -55,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -67,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Sep 01 19:33:45 CEST 2019 Igor Gnatenko - 0.2.1-1 +- Update to 0.2.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 8213d2f..7f9810d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hex-literal-0.2.0.crate) = 9450adbe5d46ed21a3d40107f87f2646ade97b3c8dafc9093e8c9133747f03b17fe6c37afa411e5f721e73df81912c1e2edd1dd3e1b61d505671cf372cda6e50 +SHA512 (hex-literal-0.2.1.crate) = fdd8c6864740c945962f41979cf306137d4e925dc599245cdb7c006efdb5b2fe8164112ee3301c1f7440029df8015226bd61cfaf3df8428898f9cae3d88efcc1