From 788dbb8b5a13f5ad6f4866fc96d7f57f7ca01b5c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 12 Mar 2023 22:49:30 +0100 Subject: [PATCH] Regenerate with rust2rpm v24 --- README.md | 3 --- palette-fix-metadata.diff | 29 +++++++++++++++++++++++++---- rust-palette.spec | 6 +++--- 3 files changed, 28 insertions(+), 10 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 930c204..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-palette - -The rust-palette package diff --git a/palette-fix-metadata.diff b/palette-fix-metadata.diff index d34926c..3b13e34 100644 --- a/palette-fix-metadata.diff +++ b/palette-fix-metadata.diff @@ -1,6 +1,27 @@ --- palette-0.6.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ palette-0.6.0/Cargo.toml 2022-11-04T20:04:01.009987+00:00 -@@ -58,7 +58,7 @@ ++++ palette-0.6.0/Cargo.toml 2023-03-12T21:48:56.717273+00:00 +@@ -28,20 +28,6 @@ + [lib] + bench = false + +-[[bench]] +-name = "cie_conversion" +-path = "benches/cie.rs" +-harness = false +- +-[[bench]] +-name = "rgb_conversion" +-path = "benches/rgb.rs" +-harness = false +- +-[[bench]] +-name = "matrix" +-path = "benches/matrix.rs" +-harness = false + [dependencies.approx] + version = "0.5" + default-features = false +@@ -58,7 +44,7 @@ version = "0.6.0" [dependencies.phf] @@ -9,7 +30,7 @@ features = ["macros"] optional = true default-features = false -@@ -76,10 +76,6 @@ +@@ -76,10 +62,6 @@ version = "2" default-features = false @@ -20,7 +41,7 @@ [dev-dependencies.csv] version = "1" -@@ -90,11 +86,6 @@ +@@ -90,11 +72,6 @@ [dev-dependencies.lazy_static] version = "1" diff --git a/rust-palette.spec b/rust-palette.spec index 5e9ba2c..f058889 100644 --- a/rust-palette.spec +++ b/rust-palette.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} @@ -21,8 +21,8 @@ Patch: palette-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Convert and manage colors with a focus on correctness, flexibility and ease of -use.} +Convert and manage colors with a focus on correctness, flexibility and +ease of use.} %description %{_description}