Update to version 6.2.0; Fixes RHBZ#2107860

epel9
Fabio Valentini 2 years ago
parent 4f679538da
commit 6e05e98faf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/os_str_bytes-6.0.0.crate /os_str_bytes-6.0.0.crate
/os_str_bytes-6.0.1.crate /os_str_bytes-6.0.1.crate
/os_str_bytes-6.1.0.crate /os_str_bytes-6.1.0.crate
/os_str_bytes-6.2.0.crate

@ -1,17 +0,0 @@
--- os_str_bytes-6.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ os_str_bytes-6.1.0/Cargo.toml 2022-07-16T14:28:30.213036+00:00
@@ -56,14 +56,6 @@
version = "2.4"
optional = true
-[dependencies.print_bytes]
-version = "0.5"
-optional = true
-
-[dependencies.uniquote]
-version = "3.0"
-optional = true
-
[dev-dependencies.getrandom]
version = "0.2"

@ -1,28 +1,24 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate os_str_bytes %global crate os_str_bytes
Name: rust-%{crate} Name: rust-os_str_bytes
Version: 6.1.0 Version: 6.2.0
Release: %autorelease Release: %autorelease
Summary: Utilities for converting between byte sequences and platform-native strings Summary: Convert between byte sequences and platform-native strings
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/os_str_bytes URL: https://crates.io/crates/os_str_bytes
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * drop optional dependencies that are not packaged for Fedora
Patch0: os_str_bytes-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Utilities for converting between byte sequences and platform-native strings.} Convert between byte sequences and platform-native strings.}
%description %{_description} %description %{_description}
@ -66,6 +62,18 @@ use the "memchr" feature of the "%{crate}" crate.
%files -n %{name}+memchr-devel %files -n %{name}+memchr-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/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 the "print_bytes" feature of the "%{crate}" crate.
%files -n %{name}+print_bytes-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+raw_os_str-devel %package -n %{name}+raw_os_str-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
uniquote

@ -1 +1 @@
SHA512 (os_str_bytes-6.1.0.crate) = b15a901533380be745e3d3ee34d36e192bcf32c8ca66b0aeb77da66b931773b9bd818bd5485c142f8733e7af7d41958957d9ed8f8c6e405b89be69df625364f5 SHA512 (os_str_bytes-6.2.0.crate) = aecfd7ad0433ffe532d72c6c269eefb7e7097cc1acdfe91511ecdaa7ad4db5d97026268bd216c70bf4fe17f23bc02b1fbbe95a28b8fedda3f812b3ce78723c75

Loading…
Cancel
Save