diff --git a/README.md b/README.md deleted file mode 100644 index 622d654..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-string_cache_codegen - -The rust-string_cache_codegen package \ No newline at end of file diff --git a/rust-string_cache_codegen.spec b/rust-string_cache_codegen.spec index bee2016..8092d9c 100644 --- a/rust-string_cache_codegen.spec +++ b/rust-string_cache_codegen.spec @@ -1,25 +1,26 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate string_cache_codegen -Name: rust-%{crate} +Name: rust-string_cache_codegen Version: 0.5.2 Release: %autorelease Summary: Codegen library for string-cache, developed as part of the Servo project -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/string_cache_codegen Source: %{crates_source} - -ExclusiveArch: %{rust_arches} +# Manually created patch for downstream crate metadata changes +# * bump phf dependencies from 0.10 to 0.11 +Patch: string_cache_codegen-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Codegen library for string-cache, developed as part of the Servo project.} +A codegen library for string-cache, developed as part of the Servo +project.} %description %{_description} diff --git a/string_cache_codegen-fix-metadata.diff b/string_cache_codegen-fix-metadata.diff new file mode 100644 index 0000000..fc63bb2 --- /dev/null +++ b/string_cache_codegen-fix-metadata.diff @@ -0,0 +1,15 @@ +--- string_cache_codegen-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ string_cache_codegen-0.5.2/Cargo.toml 2023-07-28T13:16:21.874408+00:00 +@@ -23,10 +23,10 @@ + name = "string_cache_codegen" + path = "lib.rs" + [dependencies.phf_generator] +-version = "0.10" ++version = "0.11" + + [dependencies.phf_shared] +-version = "0.10" ++version = "0.11" + + [dependencies.proc-macro2] + version = "1"