From f4dc7aafaae12c29b850528a89de8c7df781b276 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 18 Jan 2022 23:58:26 +0100 Subject: [PATCH] Update to version 6.0.0; Fixes RHBZ#2029232 --- .gitignore | 1 + os_str_bytes-fix-metadata.diff | 4 ++-- rust-os_str_bytes.spec | 37 ++++++++++------------------------ sources | 2 +- 4 files changed, 15 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index bd30550..4c813fe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /os_str_bytes-2.4.0.crate /os_str_bytes-5.0.0.crate +/os_str_bytes-6.0.0.crate diff --git a/os_str_bytes-fix-metadata.diff b/os_str_bytes-fix-metadata.diff index 4015927..3ad54a8 100644 --- a/os_str_bytes-fix-metadata.diff +++ b/os_str_bytes-fix-metadata.diff @@ -1,5 +1,5 @@ ---- os_str_bytes-5.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ os_str_bytes-5.0.0/Cargo.toml 2021-11-23T13:51:48.444589+00:00 +--- os_str_bytes-6.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ os_str_bytes-6.0.0/Cargo.toml 2022-01-18T22:01:12.632258+00:00 @@ -30,13 +30,6 @@ version = "2.4" optional = true diff --git a/rust-os_str_bytes.spec b/rust-os_str_bytes.spec index a8389cc..5565fdc 100644 --- a/rust-os_str_bytes.spec +++ b/rust-os_str_bytes.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate os_str_bytes Name: rust-%{crate} -Version: 5.0.0 +Version: 6.0.0 Release: %autorelease Summary: Utilities for converting between byte sequences and platform-native strings @@ -18,9 +18,6 @@ Source: %{crates_source} Patch0: os_str_bytes-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -35,11 +32,11 @@ 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 COPYRIGHT +%license COPYRIGHT LICENSE-APACHE LICENSE-MIT %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ @@ -49,32 +46,20 @@ 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 -%package -n %{name}+deprecated-byte-patterns-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+deprecated-byte-patterns-devel %{_description} - -This package contains library source intended for building other packages -which use "deprecated-byte-patterns" feature of "%{crate}" crate. - -%files -n %{name}+deprecated-byte-patterns-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+memchr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+memchr-devel %{_description} -This package contains library source intended for building other packages -which use "memchr" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "memchr" feature of the "%{crate}" crate. %files -n %{name}+memchr-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -85,8 +70,8 @@ BuildArch: noarch %description -n %{name}+raw_os_str-devel %{_description} -This package contains library source intended for building other packages -which use "raw_os_str" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "raw_os_str" feature of the "%{crate}" crate. %files -n %{name}+raw_os_str-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index a7975ec..e9443ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (os_str_bytes-5.0.0.crate) = 338b8c811e5c1c609ce2480f93d0370846335244a48e7cb88b7baa08dca765ce276d4abe2d828afd40e4ded87b9b9fc7c3b940749d27743ab1db3ef7f1016046 +SHA512 (os_str_bytes-6.0.0.crate) = d2d3741a1190092cf251e035d2c55a7d022d99512160ed4ddccccb44ca85f664f94f8a937a76eff88581b593e2ebaddab6e753009f3046a8a2ebf451418e41d8