From 7b928811f2c662a81f7f0f958a53701bf91b49e5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 14 Jul 2023 11:39:21 +0200 Subject: [PATCH] Update to version 0.4.39; Fixes RHBZ#2222741 --- .gitignore | 1 + README.md | 3 --- rust-tar.spec | 32 ++++++++++++++++---------------- sources | 2 +- 4 files changed, 18 insertions(+), 20 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index f61b821..8ec0e19 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /tar-0.4.36.crate /tar-0.4.37.crate /tar-0.4.38.crate +/tar-0.4.39.crate diff --git a/README.md b/README.md deleted file mode 100644 index 225594d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-tar - -The rust-tar package \ No newline at end of file diff --git a/rust-tar.spec b/rust-tar.spec index b3a5cd1..516ee7b 100644 --- a/rust-tar.spec +++ b/rust-tar.spec @@ -1,28 +1,27 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tar -Name: rust-%{crate} -Version: 0.4.38 +Name: rust-tar +Version: 0.4.39 Release: %autorelease Summary: Rust implementation of a TAR file reader and writer # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/tar Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Rust implementation of a TAR file reader and writer. This library does not -currently handle compression, but it is abstract over all I/O readers and -writers. Additionally, great lengths are taken to ensure that the entire -contents are never required to be entirely resident in memory all at once.} +A Rust implementation of a TAR file reader and writer. This library does +not currently handle compression, but it is abstract over all I/O +readers and writers. Additionally, great lengths are taken to ensure +that the entire contents are never required to be entirely resident in +memory all at once.} %description %{_description} @@ -36,9 +35,10 @@ This package contains library source intended for building other packages which 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} @@ -50,7 +50,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}+xattr-devel Summary: %{summary} @@ -62,7 +62,7 @@ This package contains library source intended for building other packages which use the "xattr" feature of the "%{crate}" crate. %files -n %{name}+xattr-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 c350640..fd9d0d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tar-0.4.38.crate) = 4b6458734811e1913cb7e348f32db16f9402fd0e0027ae867db81aecac250b35d07d9478cdae4e27a609ce0f29c9d61683934296cfc3b371119df9f2c380a84f +SHA512 (tar-0.4.39.crate) = a09273c7245d1a36a00b1c4708395c206a5d3f99fb0e33ffba8d5ebc54e7b0357609ae1a1238b75bc3585232aac5d552c0c1454013ad00f451ef463dc06eec67