diff --git a/README.md b/README.md deleted file mode 100644 index 8bc4b64..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-strum - -The rust-strum package \ No newline at end of file diff --git a/rust-strum.spec b/rust-strum.spec index aefda1a..ab19816 100644 --- a/rust-strum.spec +++ b/rust-strum.spec @@ -1,20 +1,20 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate strum -Name: rust-%{crate} +Name: rust-strum Version: 0.24.1 Release: %autorelease Summary: Helpful macros for working with enums and strings -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/strum Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * bump phf dependency from 0.10 to 0.11 +Patch: strum-fix-metadata.diff BuildRequires: rust-packaging >= 21 diff --git a/strum-fix-metadata.diff b/strum-fix-metadata.diff new file mode 100644 index 0000000..5d6854c --- /dev/null +++ b/strum-fix-metadata.diff @@ -0,0 +1,11 @@ +--- strum-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ strum-0.24.1/Cargo.toml 2023-07-28T13:13:41.130785+00:00 +@@ -39,7 +39,7 @@ + ] + + [dependencies.phf] +-version = "0.10" ++version = "0.11" + features = ["macros"] + optional = true +