From 22bad2a24759fbf38fa1974184ed1dcc42aa79a3 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 22 Sep 2024 01:58:15 -0400 Subject: [PATCH] Update to version 0.8.0; Fixes RHBZ#2173812 Signed-off-by: Benjamin A. Beasley --- .gitignore | 1 + rust-bytecheck.spec | 46 ++++++++++----------------------------------- sources | 2 +- 3 files changed, 12 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 245ae1d..e41a3ac 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /bytecheck-0.6.10.crate /bytecheck-0.6.11.crate /bytecheck-0.6.12.crate +/bytecheck-0.8.0.crate diff --git a/rust-bytecheck.spec b/rust-bytecheck.spec index ac62878..fe3b424 100644 --- a/rust-bytecheck.spec +++ b/rust-bytecheck.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate bytecheck Name: rust-bytecheck -Version: 0.6.12 +Version: 0.8.0 Release: %autorelease -Summary: Derive macro for bytecheck +Summary: Memory validation framework for Rust License: MIT URL: https://crates.io/crates/bytecheck @@ -16,7 +16,7 @@ Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Derive macro for bytecheck.} +Memory validation framework for Rust.} %description %{_description} @@ -32,7 +32,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md -%doc %{crate_instdir}/crates-io.md +%doc %{crate_instdir}/example.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -59,40 +59,16 @@ use the "simdutf8" feature of the "%{crate}" crate. %files -n %{name}+simdutf8-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+std-devel +%package -n %{name}+uuid-1-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+std-devel %{_description} +%description -n %{name}+uuid-1-devel %{_description} This package contains library source intended for building other packages which -use the "std" feature of the "%{crate}" crate. +use the "uuid-1" feature of the "%{crate}" crate. -%files -n %{name}+std-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+uuid-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+uuid-devel %{_description} - -This package contains library source intended for building other packages which -use the "uuid" feature of the "%{crate}" crate. - -%files -n %{name}+uuid-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+verbose-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-devel %{_description} - -This package contains library source intended for building other packages which -use the "verbose" feature of the "%{crate}" crate. - -%files -n %{name}+verbose-devel +%files -n %{name}+uuid-1-devel %ghost %{crate_instdir}/Cargo.toml %prep @@ -110,9 +86,7 @@ use the "verbose" feature of the "%{crate}" crate. %if %{with check} %check -# * skip tests that fail with Rust 1.71: -# https://github.com/rkyv/bytecheck/issues/32 -%cargo_test -- -- --skip "src/lib.rs" +%cargo_test %endif %changelog diff --git a/sources b/sources index 13d1c4c..a013341 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bytecheck-0.6.12.crate) = 49a85f9bbfe8bccceffcd94e3eac1f4407d93159358428ea07652714e06e97fbcb41f22f72d9d10318bc9a019be8afc99727764162f18e8de01ea4069f44dda6 +SHA512 (bytecheck-0.8.0.crate) = 1011be5bf8569c5c10465e140ead7591fc9a25b60e2cf7ace7d96b3e70d4cce1c08dbc345bcd70de5d6c2776565b9f746b8d5a09a866ca9869527791821feaf3