From 7dfac336386717557bbf4e748ef41f9e61433615 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 6 Aug 2023 16:33:18 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- ...ta.diff => findshlibs-fix-metadata-auto.diff | 2 +- rust-findshlibs.spec | 17 +++++++---------- 3 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 README.md rename findshlibs-fix-metadata.diff => findshlibs-fix-metadata-auto.diff (86%) diff --git a/README.md b/README.md deleted file mode 100644 index 5182bab..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-findshlibs - -The rust-findshlibs package \ No newline at end of file diff --git a/findshlibs-fix-metadata.diff b/findshlibs-fix-metadata-auto.diff similarity index 86% rename from findshlibs-fix-metadata.diff rename to findshlibs-fix-metadata-auto.diff index 58911fa..3100a31 100644 --- a/findshlibs-fix-metadata.diff +++ b/findshlibs-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- findshlibs-0.10.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ findshlibs-0.10.2/Cargo.toml 2022-04-20T18:18:00.934891+00:00 ++++ findshlibs-0.10.2/Cargo.toml 2023-08-06T14:29:24.999620+00:00 @@ -24,8 +24,3 @@ version = "0.2.104" [build-dependencies.cc] diff --git a/rust-findshlibs.spec b/rust-findshlibs.spec index daca2bf..9c379ad 100644 --- a/rust-findshlibs.spec +++ b/rust-findshlibs.spec @@ -1,28 +1,25 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate findshlibs -Name: rust-%{crate} +Name: rust-findshlibs Version: 0.10.2 Release: %autorelease Summary: Find the set of shared libraries loaded in the current process with a cross platform API -# 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/findshlibs Source: %{crates_source} -# Drop dependencies for Mac and Windows targets -Patch0: findshlibs-fix-metadata.diff - -ExclusiveArch: %{rust_arches} +# Automatically generated patch to strip foreign dependencies +Patch: findshlibs-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Find the set of shared libraries loaded in the current process with a cross -platform API.} +Find the set of shared libraries loaded in the current process with a +cross platform API.} %description %{_description}