Remove reference to readme file that is not included in published crates

epel10 imports/epel10/rust-strum0.21-0.21.0-8.el10
Fabio Valentini 4 months ago
parent fbcd88fb26
commit c11f7f6707
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -12,8 +12,11 @@ Summary: Helpful macros for working with enums and strings
License: MIT
URL: https://crates.io/crates/strum
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * remove reference to readme file that is not included in published crates
Patch: strum-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Helpful macros for working with enums and strings.}
@ -70,7 +73,7 @@ use the "strum_macros" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -0,0 +1,5 @@
[package]
cargo-toml-patch-comments = [
"remove reference to readme file that is not included in published crates",
]

@ -0,0 +1,10 @@
--- strum-0.21.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ strum-0.21.0/Cargo.toml 2024-09-14T14:17:30.666101+00:00
@@ -18,7 +18,6 @@
description = "Helpful macros for working with enums and strings"
homepage = "https://github.com/Peternator7/strum"
documentation = "https://docs.rs/strum"
-readme = "../README.md"
keywords = ["enum", "string", "macros", "proc-macros"]
categories = ["development-tools::procedural-macro-helpers", "parsing"]
license = "MIT"
Loading…
Cancel
Save