From 8680afc1b4fd768a1bdff639b9b5cef6b1310792 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 6 Dec 2022 15:56:58 +0100 Subject: [PATCH] Update to version 0.11.2 --- .gitignore | 1 + rust-derive_builder_macro.spec | 32 ++++++++++++++------------------ rust2rpm.conf | 3 +++ sources | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 rust2rpm.conf diff --git a/.gitignore b/.gitignore index e4ce232..360ae5b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /derive_builder_macro-0.10.2.crate +/derive_builder_macro-0.11.2.crate diff --git a/rust-derive_builder_macro.spec b/rust-derive_builder_macro.spec index e84c93e..c157545 100644 --- a/rust-derive_builder_macro.spec +++ b/rust-derive_builder_macro.spec @@ -1,25 +1,20 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate derive_builder_macro -Name: rust-%{crate} -Version: 0.10.2 +Name: rust-derive_builder_macro +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_macro 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,14 @@ 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-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +43,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..0cbbfda --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + clippy diff --git a/sources b/sources index 4a7207e..d37baa0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_builder_macro-0.10.2.crate) = 36356bf7e2f6c56b0856c1df0c04388d8d0d1f6e5843396276c3cc2b2c39cc649d6cb08f54b91eb0e2fb3dcd30a9dcb29e98f769f840ca725c9e9a62dc3827eb +SHA512 (derive_builder_macro-0.11.2.crate) = 8c8436f0baf8610ad5740a1eeeb3a750d93d0ca283e21127a58d5cec4d01bc0de86dfc44e834e501001556269999ca1cb55102736873e23dc27145a7966aa4b7