From 9db298de3bc4007c6c9d96cea5a8df4a2e8be00c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Jun 2024 21:34:27 +0200 Subject: [PATCH] Update to version 0.4.41; Fixes RHBZ#2290484 --- .gitignore | 1 + rust-tar.spec | 12 ++++++------ rust2rpm.toml | 6 ++++++ sources | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 7cd3ecb..e8f6791 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ /tar-0.4.38.crate /tar-0.4.39.crate /tar-0.4.40.crate +/tar-0.4.41.crate diff --git a/rust-tar.spec b/rust-tar.spec index 455c537..3f875b1 100644 --- a/rust-tar.spec +++ b/rust-tar.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate tar Name: rust-tar -Version: 0.4.40 +Version: 0.4.41 Release: %autorelease Summary: Rust implementation of a TAR file reader and writer -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tar Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Rust implementation of a TAR file reader and writer. This library does @@ -65,7 +64,7 @@ use the "xattr" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -79,7 +78,8 @@ use the "xattr" feature of the "%{crate}" crate. %if %{with check} %check -# files required by unit tests are not included in published crates +# * test fixtures for integration tests are not included in published crates +%cargo_test -- --lib %cargo_test -- --doc %endif diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..b585327 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,6 @@ +[tests] +run = ["lib", "doc"] +comments = [ + "test fixtures for integration tests are not included in published crates", +] + diff --git a/sources b/sources index a60b87b..cec47b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tar-0.4.40.crate) = 90bde0dfca91b6c304d5bcd4c93c653c066b76592927f5ed3025752d6d0244c0d5786c44af99df94dd6cc7a417663205d86f406a3b60f7307ca3c1757239bc12 +SHA512 (tar-0.4.41.crate) = 547d4a10cca5b593a04e3775bfc175a3a4de27f3c4dede305c6d50b63b4eb38152c6f06280098f14c4fadcca4cc9aa98626ea50aebe9bab2cb7b7f4e0c4d2b92