Update to version 0.20.0; Fixes RHBZ#2259682

epel10
Fabio Valentini 10 months ago
parent 29c262dd4b
commit 33c0309a33
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/derive_builder_macro-0.10.2.crate /derive_builder_macro-0.10.2.crate
/derive_builder_macro-0.11.2.crate /derive_builder_macro-0.11.2.crate
/derive_builder_macro-0.12.0.crate /derive_builder_macro-0.12.0.crate
/derive_builder_macro-0.20.0.crate

@ -1,20 +1,19 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate derive_builder_macro %global crate derive_builder_macro
Name: rust-derive_builder_macro Name: rust-derive_builder_macro
Version: 0.12.0 Version: 0.20.0
Release: %autorelease Release: %autorelease
Summary: Rust macro to automatically implement the builder pattern for arbitrary structs Summary: Rust macro to automatically implement the builder pattern for arbitrary structs
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/derive_builder_macro URL: https://crates.io/crates/derive_builder_macro
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Rust macro to automatically implement the builder pattern for arbitrary Rust macro to automatically implement the builder pattern for arbitrary
@ -49,8 +48,32 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lib_has_std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lib_has_std-devel %{_description}
This package contains library source intended for building other packages which
use the "lib_has_std" feature of the "%{crate}" crate.
%files -n %{name}+lib_has_std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,3 +0,0 @@
[DEFAULT]
unwanted-features =
clippy

@ -0,0 +1,3 @@
[features]
hide = ["clippy"]

@ -1 +1 @@
SHA512 (derive_builder_macro-0.12.0.crate) = cb4a71f49c66ff91dc5a459053102e1aab7956d6003998270ac9bc94c2259b824a77689f209ff0104261ff829e54dd0900ec76c2cc1b8d3c52092961ffd072e8 SHA512 (derive_builder_macro-0.20.0.crate) = 1239bccd3f752c641782aa99d14de0ee92431f46be8b98861cc416e304b03dd18ec875f592d94093189b571592d9fb10b322f7dd205f90b84574e37d38869a1c

Loading…
Cancel
Save