From 330e7b3c28506386741366e5bd0729aeec1cbda1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 23 Jun 2023 21:24:16 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- rust-crc32fast.spec | 24 +++++++++++------------- 2 files changed, 11 insertions(+), 16 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 07cc053..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-crc32fast - -The rust-crc32fast package \ No newline at end of file diff --git a/rust-crc32fast.spec b/rust-crc32fast.spec index 96f8c55..0c30236 100644 --- a/rust-crc32fast.spec +++ b/rust-crc32fast.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate crc32fast -Name: rust-%{crate} +Name: rust-crc32fast Version: 1.3.2 Release: %autorelease Summary: Fast, SIMD-accelerated CRC32 (IEEE) checksum computation -# 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/crc32fast Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.} @@ -33,9 +30,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} @@ -47,7 +45,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}+nightly-devel Summary: %{summary} @@ -59,7 +57,7 @@ This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -71,7 +69,7 @@ This package contains library source intended for building other packages which 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