diff --git a/.gitignore b/.gitignore index 6f48259..452277f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /derive_builder-0.9.0.crate /derive_builder-0.10.2.crate /derive_builder-0.11.2.crate +/derive_builder-0.12.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index a87ce74..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-derive_builder - -The rust-derive_builder package \ No newline at end of file diff --git a/derive_builder-fix-metadata-auto.diff b/derive_builder-fix-metadata-auto.diff new file mode 100644 index 0000000..c511c15 --- /dev/null +++ b/derive_builder-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- derive_builder-0.12.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ derive_builder-0.12.0/Cargo.toml 2023-05-25T16:44:31.340112+00:00 +@@ -56,5 +56,3 @@ + default = ["std"] + std = [] + +-[target."cfg(compiletests)".dev-dependencies.trybuild] +-version = "1.0.38" diff --git a/rust-derive_builder.spec b/rust-derive_builder.spec index 55f98a9..8530a17 100644 --- a/rust-derive_builder.spec +++ b/rust-derive_builder.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate derive_builder Name: rust-derive_builder -Version: 0.11.2 +Version: 0.12.0 Release: %autorelease Summary: Rust macro to automatically implement the builder pattern for arbitrary structs @@ -13,6 +13,8 @@ Summary: Rust macro to automatically implement the builder pattern for ar License: MIT OR Apache-2.0 URL: https://crates.io/crates/derive_builder Source: %{crates_source} +# Automatically generated patch to strip foreign dependencies +Patch: derive_builder-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 diff --git a/sources b/sources index 246cc55..6479d06 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_builder-0.11.2.crate) = 53c7cbaa1e95aa45cbaf5a97c440471ff7f6ffbddedf580eccdb4f8518195c582c09943eb96e698e6aa3c4794fc416da75fa0058a2dc9ec6aa10def8c65b9ac5 +SHA512 (derive_builder-0.12.0.crate) = 3ba06c1d53f69ffca5a56edcd1173e9b5d67b9a5b00025c36fef04fa06a3046188ed503e1c0c8d56b26411b5199c3a152f284965f13ad8b346b6750ca9e00f0f