From 1e2d72bc5a86efe719567b58944aebba0060caac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Mon, 15 Nov 2021 18:50:48 +0100 Subject: [PATCH] Update to 5.0.0 Close: rhbz#1933553 --- .gitignore | 1 + rust-os_str_bytes.spec | 64 ++++++++++++++++++++++++++++++++++++------ sources | 2 +- 3 files changed, 58 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 4b1586b..bd30550 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /os_str_bytes-2.4.0.crate +/os_str_bytes-5.0.0.crate diff --git a/rust-os_str_bytes.spec b/rust-os_str_bytes.spec index f252800..fc07b6e 100644 --- a/rust-os_str_bytes.spec +++ b/rust-os_str_bytes.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate os_str_bytes Name: rust-%{crate} -Version: 2.4.0 +Version: 5.0.0 Release: %autorelease -Summary: Traits for converting between byte sequences and platform-native strings +Summary: Utilities for converting between byte sequences and platform-native strings # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -22,7 +22,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Traits for converting between byte sequences and platform-native strings.} +Utilities for converting between byte sequences and platform-native strings.} %description %{_description} @@ -52,16 +52,64 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+raw-devel +%package -n %{name}+deprecated-byte-patterns-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+raw-devel %{_description} +%description -n %{name}+deprecated-byte-patterns-devel %{_description} This package contains library source intended for building other packages -which use "raw" feature of "%{crate}" crate. +which use "deprecated-byte-patterns" feature of "%{crate}" crate. -%files -n %{name}+raw-devel +%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. + +%files -n %{name}+memchr-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+print_bytes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+print_bytes-devel %{_description} + +This package contains library source intended for building other packages +which use "print_bytes" feature of "%{crate}" crate. + +%files -n %{name}+print_bytes-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+raw_os_str-devel +Summary: %{summary} +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. + +%files -n %{name}+raw_os_str-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+uniquote-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+uniquote-devel %{_description} + +This package contains library source intended for building other packages +which use "uniquote" feature of "%{crate}" crate. + +%files -n %{name}+uniquote-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep diff --git a/sources b/sources index bad376a..a7975ec 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (os_str_bytes-2.4.0.crate) = 4e06a2c7f5470c56bdf5e06afb5fcaa4001a29c2cd79db6ed9ffb762154ba20bf11dab97ed7cb2f50f53b2e12241b0988bb220b60f4210d4f01fb2f0e1d186e6 +SHA512 (os_str_bytes-5.0.0.crate) = 338b8c811e5c1c609ce2480f93d0370846335244a48e7cb88b7baa08dca765ce276d4abe2d828afd40e4ded87b9b9fc7c3b940749d27743ab1db3ef7f1016046