From 29f8709ed97813bc1f9852f080b7330f917a5ff6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 7 Mar 2022 00:57:10 +0100 Subject: [PATCH] Update to version 0.8.3; Fixes RHBZ#2050676 --- .gitignore | 1 + rust-string_cache.spec | 38 ++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 20 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 525caf2..3889f20 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /string_cache-0.8.0.crate /string_cache-0.8.1.crate /string_cache-0.8.2.crate +/string_cache-0.8.3.crate diff --git a/rust-string_cache.spec b/rust-string_cache.spec index 233c533..a4d07e9 100644 --- a/rust-string_cache.spec +++ b/rust-string_cache.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate string_cache Name: rust-%{crate} -Version: 0.8.2 +Version: 0.8.3 Release: %autorelease Summary: String interning library for Rust, developed as part of the Servo project @@ -15,11 +15,8 @@ URL: https://crates.io/crates/string_cache Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: String interning library for Rust, developed as part of the Servo project.} @@ -32,13 +29,14 @@ 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 -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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 %package -n %{name}+serde-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_support-devel Summary: %{summary} @@ -70,11 +68,11 @@ BuildArch: noarch %description -n %{name}+serde_support-devel %{_description} -This package contains library source intended for building other packages -which use "serde_support" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde_support" feature of the "%{crate}" crate. %files -n %{name}+serde_support-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 f5f917f..ba7ebb4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (string_cache-0.8.2.crate) = d4ae1fbea4de469e342ba1a0d4c0f26386633dcc46c0cb9adbb7983e565476a57aedf1798e65f21ee5326f96880ee2bb4a5dc1621ff7e7d0ca23fb3536dc98aa +SHA512 (string_cache-0.8.3.crate) = 337f1c95393c719d96d9dc7c552b744271f89c4ccb70efada8a48331eb619cbd761eee5a6f13c41b214449fd9ff29439473d33ffe3eda57d78ec90dd9aad88dd