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

epel10 imports/epel10/rust-strum_macros0.21-0.21.1-8.el10
Fabio Valentini 4 months ago
parent d14778d775
commit ba60874507
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
# * tests can only be run in-tree
%bcond_with check
%global debug_package %{nil}
@ -13,8 +13,11 @@ Summary: Helpful macros for working with enums and strings
License: MIT
URL: https://crates.io/crates/strum_macros
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_macros-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Helpful macros for working with enums and strings.}
@ -47,7 +50,7 @@ use the "default" 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,9 @@
[package]
cargo-toml-patch-comments = [
"remove reference to readme file that is not included in published crates",
]
[tests]
run = ["none"]
comments = ["tests can only be run in-tree"]

@ -0,0 +1,10 @@
--- strum_macros-0.21.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ strum_macros-0.21.1/Cargo.toml 2024-09-14T14:27:08.127903+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