From c0e1cbc66a213f9d770016fcbcfb7cc94af64774 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 15 Dec 2021 21:57:14 +0100 Subject: [PATCH] Update to version 0.5.7; Fixes RHBZ#2032990 --- .gitignore | 1 + escargot-fix-metadata.diff | 4 ++-- rust-escargot.spec | 31 ++++++++++++++----------------- sources | 2 +- 4 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 621be87..5f693d7 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /escargot-0.5.1.crate /escargot-0.5.2.crate /escargot-0.5.6.crate +/escargot-0.5.7.crate diff --git a/escargot-fix-metadata.diff b/escargot-fix-metadata.diff index 3676952..95e22bb 100644 --- a/escargot-fix-metadata.diff +++ b/escargot-fix-metadata.diff @@ -1,5 +1,5 @@ ---- escargot-0.5.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ escargot-0.5.6/Cargo.toml 2021-11-09T20:13:14.193478+00:00 +--- escargot-0.5.7/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ escargot-0.5.7/Cargo.toml 2021-12-15T20:55:16.339563+00:00 @@ -23,6 +23,7 @@ categories = ["development-tools::build-utils"] license = "MIT OR Apache-2.0" diff --git a/rust-escargot.spec b/rust-escargot.spec index 509f518..a47618c 100644 --- a/rust-escargot.spec +++ b/rust-escargot.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 # * files required by tests are not included in published crates %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate escargot Name: rust-%{crate} -Version: 0.5.6 +Version: 0.5.7 Release: %autorelease Summary: Cargo API written in Paris @@ -19,9 +19,6 @@ Source: %{crates_source} Patch0: escargot-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -36,8 +33,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT @@ -50,8 +47,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -62,8 +59,8 @@ BuildArch: noarch %description -n %{name}+cargo_unstable-devel %{_description} -This package contains library source intended for building other packages -which use "cargo_unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "cargo_unstable" feature of the "%{crate}" crate. %files -n %{name}+cargo_unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -74,8 +71,8 @@ BuildArch: noarch %description -n %{name}+print-devel %{_description} -This package contains library source intended for building other packages -which use "print" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "print" feature of the "%{crate}" crate. %files -n %{name}+print-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -86,8 +83,8 @@ BuildArch: noarch %description -n %{name}+strict_unstable-devel %{_description} -This package contains library source intended for building other packages -which use "strict_unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "strict_unstable" feature of the "%{crate}" crate. %files -n %{name}+strict_unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -98,8 +95,8 @@ BuildArch: noarch %description -n %{name}+test_unstable-devel %{_description} -This package contains library source intended for building other packages -which use "test_unstable" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "test_unstable" feature of the "%{crate}" crate. %files -n %{name}+test_unstable-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index f80ffbb..02a4f8a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (escargot-0.5.6.crate) = 5b0ede71bf8332ff5d604e656bf5c062e0693952f754e0bd6522db49897dfc240164b4ea18b9c5ed3feced1509dd6a98753fcc0887f8548aefe26be04c626d1a +SHA512 (escargot-0.5.7.crate) = 5257f18dc36390c000d15a083f349d23edf693032e40a8f1e45f3db224bb29a08e69c4d7e74f1a99aa7be44eee40a78379fa0cf3e50b79a874ddc46d7191afcf