From 44527b374022ff27c94385509dd935251e8e8a4d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Aug 2023 22:23:00 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- memchr-fix-metadata.diff | 2 +- rust-memchr.spec | 14 ++++++-------- .rust2rpm.conf => rust2rpm.conf | 0 4 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 README.md rename .rust2rpm.conf => rust2rpm.conf (100%) diff --git a/README.md b/README.md deleted file mode 100644 index 624613f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-memchr - -The rust-memchr package \ No newline at end of file diff --git a/memchr-fix-metadata.diff b/memchr-fix-metadata.diff index 454e08b..aa43936 100644 --- a/memchr-fix-metadata.diff +++ b/memchr-fix-metadata.diff @@ -1,5 +1,5 @@ --- memchr-2.5.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ memchr-2.5.0/Cargo.toml 2022-05-12T13:17:45.620674+00:00 ++++ memchr-2.5.0/Cargo.toml 2023-08-06T20:21:07.575068+00:00 @@ -21,6 +21,7 @@ "/bench", "/.github", diff --git a/rust-memchr.spec b/rust-memchr.spec index 0aa8c61..3bc3ebc 100644 --- a/rust-memchr.spec +++ b/rust-memchr.spec @@ -1,23 +1,21 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate memchr -Name: rust-%{crate} +Name: rust-memchr Version: 2.5.0 Release: %autorelease Summary: Safe interface to memchr # Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/memchr Source: %{crates_source} -# Initial patched metadata -# * exclude scripts used for upstream development -Patch0: memchr-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * exclude files that are only useful for upstream development +Patch: memchr-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf