From 32ebb93c1a6a4a8e6ff0c13f485657f5690e022b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Aug 2023 15:07:04 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- .rust2rpm.conf | 4 ---- README.md | 3 --- bytecount-fix-metadata.diff | 2 +- rust-bytecount.spec | 16 +++++++--------- rust2rpm.conf | 5 +++++ 5 files changed, 13 insertions(+), 17 deletions(-) delete mode 100644 .rust2rpm.conf delete mode 100644 README.md create mode 100644 rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index 177899a..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -unwanted-features = - generic-simd - packed_simd diff --git a/README.md b/README.md deleted file mode 100644 index 82d22a8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-bytecount - -The rust-bytecount package \ No newline at end of file diff --git a/bytecount-fix-metadata.diff b/bytecount-fix-metadata.diff index 6298782..f38ce57 100644 --- a/bytecount-fix-metadata.diff +++ b/bytecount-fix-metadata.diff @@ -1,5 +1,5 @@ --- bytecount-0.6.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ bytecount-0.6.3/Cargo.toml 2022-07-16T13:01:08.506236+00:00 ++++ bytecount-0.6.3/Cargo.toml 2023-08-06T13:05:22.169071+00:00 @@ -42,10 +42,6 @@ optional = true package = "packed_simd_2" diff --git a/rust-bytecount.spec b/rust-bytecount.spec index d5c5a0a..6e5cabf 100644 --- a/rust-bytecount.spec +++ b/rust-bytecount.spec @@ -1,29 +1,27 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate bytecount -Name: rust-%{crate} +Name: rust-bytecount Version: 0.6.3 Release: %autorelease Summary: Count occurrences of a given byte, or the number of UTF-8 code points # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/bytecount Source: %{crates_source} -# Initial patched metadata +# Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds -Patch0: bytecount-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +Patch: bytecount-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Count occurrences of a given byte, or the number of UTF-8 code points, in a -byte slice, fast.} +Count occurrences of a given byte, or the number of UTF-8 code points, +in a byte slice, fast.} %description %{_description} diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..dbfb536 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +summary = Count occurrences of a given byte, or the number of UTF-8 code points +unwanted-features = + generic-simd + packed_simd