From 289ab41df32edc882e260b195e3440a9326cf55d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 6 Dec 2022 15:58:00 +0100 Subject: [PATCH] Update to version 0.11.2 --- .gitignore | 1 + derive_builder-fix-metadata.diff | 11 --------- rust-derive_builder.spec | 39 +++++++++++++++----------------- .rust2rpm.conf => rust2rpm.conf | 0 sources | 2 +- 5 files changed, 20 insertions(+), 33 deletions(-) delete mode 100644 derive_builder-fix-metadata.diff rename .rust2rpm.conf => rust2rpm.conf (100%) diff --git a/.gitignore b/.gitignore index 075637d..6f48259 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /derive_builder-0.7.2.crate /derive_builder-0.9.0.crate /derive_builder-0.10.2.crate +/derive_builder-0.11.2.crate diff --git a/derive_builder-fix-metadata.diff b/derive_builder-fix-metadata.diff deleted file mode 100644 index 555a4b2..0000000 --- a/derive_builder-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- derive_builder-0.9.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ derive_builder-0.9.0/Cargo.toml 2021-02-27T20:28:21.467216+00:00 -@@ -30,7 +30,7 @@ - optional = true - - [dependencies.darling] --version = "0.10.2" -+version = "0.12" - - [dependencies.derive_builder_core] - version = "=0.9.0" diff --git a/rust-derive_builder.spec b/rust-derive_builder.spec index 4776797..55f98a9 100644 --- a/rust-derive_builder.spec +++ b/rust-derive_builder.spec @@ -1,25 +1,20 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate derive_builder -Name: rust-%{crate} -Version: 0.10.2 +Name: rust-derive_builder +Version: 0.11.2 Release: %autorelease Summary: Rust macro to automatically implement the builder pattern for arbitrary structs # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/derive_builder Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust macro to automatically implement the builder pattern for arbitrary @@ -33,13 +28,15 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -59,11 +56,11 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} -This package contains library source intended for building other packages -which use "std" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index ce97bbe..246cc55 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_builder-0.10.2.crate) = 1d76ced2c6c566eee5bbe44cb437c863396f989d0f850ec2d269fb90621e8a9445e68062ec1d8eabd0fb3dbc5ccb827bc6d13d74023282f82015f84d926eb221 +SHA512 (derive_builder-0.11.2.crate) = 53c7cbaa1e95aa45cbaf5a97c440471ff7f6ffbddedf580eccdb4f8518195c582c09943eb96e698e6aa3c4794fc416da75fa0058a2dc9ec6aa10def8c65b9ac5