From 1c6af0f89a6765abf83df9594c513097f8ec678e Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 29 Mar 2022 11:39:00 +0200 Subject: [PATCH] Update to version 0.5.2; Fixes RHBZ#2068969 --- .gitignore | 1 + rust-string_cache_codegen.spec | 26 ++++++++++++-------------- sources | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index c12c0f8..2a4b0ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /string_cache_codegen-0.4.2.crate /string_cache_codegen-0.4.4.crate /string_cache_codegen-0.5.1.crate +/string_cache_codegen-0.5.2.crate diff --git a/rust-string_cache_codegen.spec b/rust-string_cache_codegen.spec index b52046d..bee2016 100644 --- a/rust-string_cache_codegen.spec +++ b/rust-string_cache_codegen.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate string_cache_codegen Name: rust-%{crate} -Version: 0.5.1 +Version: 0.5.2 Release: %autorelease Summary: Codegen library for string-cache, developed as part of the Servo project -# Upstream license specification: MIT / Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/string_cache_codegen Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Codegen library for string-cache, developed as part of the Servo project.} @@ -32,12 +29,13 @@ 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-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,11 +43,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index e5c0e5f..ffa28fd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (string_cache_codegen-0.5.1.crate) = c3aeb752cbdbcb78cee6156b726264d182e77b3d6ac89066c366d87d8bdffc32d83e6e59a40471f07d7c827717db25fa6fb489dbd3a650f2fc252a7c85f4ecae +SHA512 (string_cache_codegen-0.5.2.crate) = 01b9b1a865878537f657adf908159fd04f3f2ba4e70f8c632b73d0ed5a8a09fe2bb9ac8ac4397dec1f50d771dec33fc5d3f9e68dbf80cc177118665b2c67e864