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

epel10 imports/epel10/rust-im-rc-15.1.0-9.el10
Fabio Valentini 5 months ago
parent a88f9232ce
commit 951aa1ac37
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,26 +1,25 @@
--- im-rc-15.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- im-rc-15.1.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ im-rc-15.1.0/Cargo.toml 2023-08-22T20:13:03.251008+00:00 +++ im-rc-15.1.0/Cargo.toml 2024-09-14T12:15:58.467147+00:00
@@ -28,7 +28,7 @@ @@ -19,7 +19,6 @@
"rrb-tree", description = "Immutable collection datatypes (the fast but not thread safe version)"
] homepage = "http://immutable.rs/"
categories = ["data-structures"] documentation = "http://immutable.rs/"
-license = "MPL-2.0+" -readme = "../../README.md"
+license = "MPL-2.0" keywords = [
repository = "https://github.com/bodil/im-rs" "immutable",
"persistent",
[package.metadata.docs.rs] @@ -62,10 +61,6 @@
@@ -60,10 +60,6 @@
[dependencies.rayon]
version = "1" version = "1"
-optional = true
-
-[dependencies.refpool]
-version = "0.4"
optional = true optional = true
-[dependencies.refpool]
-version = "0.4"
-optional = true
-
[dependencies.serde] [dependencies.serde]
@@ -106,10 +102,6 @@ version = "1"
optional = true
@@ -106,10 +101,6 @@
[features] [features]
debug = [] debug = []

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
# * missing dev-dependencies: metrohash # * missing dev-dependencies: metrohash
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -10,16 +10,15 @@ Version: 15.1.0
Release: %autorelease Release: %autorelease
Summary: Immutable collection datatypes (the fast but not thread safe version) Summary: Immutable collection datatypes (the fast but not thread safe version)
License: MPL-2.0 License: MPL-2.0+
URL: https://crates.io/crates/im-rc URL: https://crates.io/crates/im-rc
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * fix invalid SPDX identifier in crate license:
# https://github.com/bodil/im-rs/issues/210
# * drop optional "pool" feature with missing "refpool" dependency # * drop optional "pool" feature with missing "refpool" dependency
# * remove reference to readme file that is not included in published crates
Patch: im-rc-fix-metadata.diff Patch: im-rc-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Immutable collection datatypes (the fast but not thread safe version).} Immutable collection datatypes (the fast but not thread safe version).}
@ -127,7 +126,7 @@ use the "serde" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,10 @@
[package]
cargo-toml-patch-comments = [
"drop optional \"pool\" feature with missing \"refpool\" dependency",
"remove reference to readme file that is not included in published crates",
]
[tests]
run = ["none"]
comments = ["missing dev-dependencies: metrohash"]
Loading…
Cancel
Save