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

epel10 imports/epel10/rust-funty-2.0.0-5.el10
Fabio Valentini 4 months ago
parent f476137c25
commit 374d7dd66d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,10 @@
--- funty-2.0.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ funty-2.0.0/Cargo.toml 2024-09-14T12:10:16.683388+00:00
@@ -18,7 +18,6 @@
include = ["Cargo.toml", "LICENSE.txt", "src/lib.rs"]
description = "Trait generalization over the primitive types"
documentation = "https://docs.rs/funty"
-readme = "README.md"
keywords = ["numerics", "primitives", "traits"]
categories = ["no-std", "rust-patterns"]
license = "MIT"

@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
@ -12,8 +12,11 @@ Summary: Trait generalization over the primitive types
License: MIT
URL: https://crates.io/crates/funty
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * remove reference to readme file that is not included in published crates
Patch: funty-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Trait generalization over the primitive types.}
@ -58,7 +61,7 @@ use the "std" 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",
]
Loading…
Cancel
Save