diff --git a/.gitignore b/.gitignore index 72db7ba..707a736 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ /serde_bytes-0.11.3.crate /serde_bytes-0.11.4.crate /serde_bytes-0.11.5.crate +/serde_bytes-0.11.6.crate +/serde_bytes-0.11.7.crate diff --git a/rust-serde_bytes.spec b/rust-serde_bytes.spec index d95a1a9..938a778 100644 --- a/rust-serde_bytes.spec +++ b/rust-serde_bytes.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate serde_bytes -Name: rust-%{crate} -Version: 0.11.5 +Name: rust-serde_bytes +Version: 0.11.7 Release: %autorelease Summary: Optimized handling of `&[u8]` and `Vec` for Serde -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/serde_bytes Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Optimized handling of `&[u8]` and `Vec` for Serde.} @@ -33,12 +29,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%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} @@ -47,10 +44,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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}+alloc-devel Summary: %{summary} @@ -59,10 +56,10 @@ BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which -use "the alloc" feature of the "%{crate}" crate. +use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -71,10 +68,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "the std" feature of the "%{crate}" crate. +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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 6b1b9de..aadabae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (serde_bytes-0.11.5.crate) = f2941fa96c777732dec9fa9c2b0e59571984b89a14b868aa4817805e32525cf3818d6aab943120cfd9d6e3fb6d91ca92bd7418dd6c9ace8fc235d8999c42ecff +SHA512 (serde_bytes-0.11.7.crate) = 95890bf6ee454e893145d45e2b1ebd5596379e5f76a8cda7057527c2ff7b35ae7de8505ee307707d59fe2cd6a58a55206df012f914efa7a2b902f0f437b281b6