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

epel10 imports/epel10/rust-codespan-reporting-0.11.1-12.el10
Fabio Valentini 6 months ago
parent b26b64f6c0
commit 42ac50a8dc
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,10 @@
--- codespan-reporting-0.11.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ codespan-reporting-0.11.1/Cargo.toml 2024-09-13T20:55:15.668017+00:00
@@ -19,7 +19,6 @@
description = "Beautiful diagnostic reporting for text-based programming languages"
homepage = "https://github.com/brendanzab/codespan"
documentation = "https://docs.rs/codespan-reporting"
-readme = "../README.md"
license = "Apache-2.0"
repository = "https://github.com/brendanzab/codespan"
[dependencies.serde]

@ -1,4 +1,4 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
# * outdated dev-dependencies: rustyline
%bcond_with check
%global debug_package %{nil}
@ -15,8 +15,11 @@ URL: https://crates.io/crates/codespan-reporting
Source0: %{crates_source}
# https://github.com/brendanzab/codespan/pull/355
Source1: https://github.com/brendanzab/codespan/raw/fd389a1/LICENSE
# Manually created patch for downstream crate metadata changes
# * remove reference to readme file that is not included in published crates
Patch: codespan-reporting-fix-metadata.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Beautiful diagnostic reporting for text-based programming languages.}
@ -86,7 +89,7 @@ use the "serialization" 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
cp -pav %{SOURCE1} .

@ -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 = ["outdated dev-dependencies: rustyline"]
Loading…
Cancel
Save