diff --git a/.gitignore b/.gitignore index 4c813fe..e6f7ca2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /os_str_bytes-2.4.0.crate /os_str_bytes-5.0.0.crate /os_str_bytes-6.0.0.crate +/os_str_bytes-6.0.1.crate diff --git a/os_str_bytes-fix-metadata.diff b/os_str_bytes-fix-metadata.diff index 3ad54a8..001e1f5 100644 --- a/os_str_bytes-fix-metadata.diff +++ b/os_str_bytes-fix-metadata.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- os_str_bytes-6.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ os_str_bytes-6.0.1/Cargo.toml 2022-05-23T16:47:56.682610+00:00 +@@ -56,14 +56,6 @@ version = "2.4" optional = true @@ -11,6 +11,7 @@ -[dependencies.uniquote] -version = "3.0" -optional = true +- [dev-dependencies.getrandom] version = "0.2" diff --git a/rust-os_str_bytes.spec b/rust-os_str_bytes.spec index 5565fdc..3a84b71 100644 --- a/rust-os_str_bytes.spec +++ b/rust-os_str_bytes.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate os_str_bytes Name: rust-%{crate} -Version: 6.0.0 +Version: 6.0.1 Release: %autorelease Summary: Utilities for converting between byte sequences and platform-native strings @@ -19,7 +19,7 @@ Patch0: os_str_bytes-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Utilities for converting between byte sequences and platform-native strings.} @@ -36,9 +36,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license COPYRIGHT LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +52,7 @@ 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}+memchr-devel Summary: %{summary} @@ -62,7 +64,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+raw_os_str-devel Summary: %{summary} @@ -74,7 +76,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index e9443ac..ca0e01b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (os_str_bytes-6.0.0.crate) = d2d3741a1190092cf251e035d2c55a7d022d99512160ed4ddccccb44ca85f664f94f8a937a76eff88581b593e2ebaddab6e753009f3046a8a2ebf451418e41d8 +SHA512 (os_str_bytes-6.0.1.crate) = 16035d3032d499575faf5e8114868d57826acf2b4a54e848f9101713b7965a2fecd6c486945b1c8ccc3ddacdbb95a1c6f8a74ca4fcdee24729648edc817c4472