Update to version 0.20.0; Fixes RHBZ#2259681

epel10
Fabio Valentini 11 months ago
parent 360259f617
commit d7c7908e08
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

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

@ -1,8 +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 @@
--- derive_builder-0.20.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ derive_builder-0.20.0/Cargo.toml 2024-03-18T14:54:32.810266+00:00
@@ -58,5 +58,3 @@
default = ["std"]
std = []
std = ["derive_builder_macro/lib_has_std"]
-[target."cfg(compiletests)".dev-dependencies.trybuild]
-version = "1.0.38"

@ -1,22 +1,21 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate derive_builder
Name: rust-derive_builder
Version: 0.12.0
Version: 0.20.0
Release: %autorelease
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
URL: https://crates.io/crates/derive_builder
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
# Automatically generated patch to strip dependencies and normalize metadata
Patch: derive_builder-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rust macro to automatically implement the builder pattern for arbitrary
@ -52,6 +51,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%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}+std-devel
Summary: %{summary}
BuildArch: noarch
@ -65,7 +76,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

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

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

@ -1 +1 @@
SHA512 (derive_builder-0.12.0.crate) = 3ba06c1d53f69ffca5a56edcd1173e9b5d67b9a5b00025c36fef04fa06a3046188ed503e1c0c8d56b26411b5199c3a152f284965f13ad8b346b6750ca9e00f0f
SHA512 (derive_builder-0.20.0.crate) = 3fb085259b8219d07c88a233c1aa0e586f6c6ec31c302896c3d2900a062a2e27b4211023f544bf139df3f4f6157773f192a96d9f1e980bf1bb7bd2125d5a7605

Loading…
Cancel
Save