From 69439844adfced6eadd20203a0b65ddabe421aac Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 18 Mar 2024 16:33:08 +0100 Subject: [PATCH] Update to version 0.20.0; Fixes RHBZ#2259683 --- .gitignore | 1 + rust-derive_builder_core.spec | 33 ++++++++++++++++++++++++++++----- rust2rpm.conf | 3 --- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 33 insertions(+), 9 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index a0d2830..730ffa2 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /derive_builder_core-0.10.2.crate /derive_builder_core-0.11.2.crate /derive_builder_core-0.12.0.crate +/derive_builder_core-0.20.0.crate diff --git a/rust-derive_builder_core.spec b/rust-derive_builder_core.spec index 8c8c388..462a52e 100644 --- a/rust-derive_builder_core.spec +++ b/rust-derive_builder_core.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate derive_builder_core Name: rust-derive_builder_core -Version: 0.12.0 +Version: 0.20.0 Release: %autorelease Summary: Internal helper library for the derive_builder crate -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/derive_builder_core Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Internal helper library for the derive_builder crate.} @@ -49,8 +48,32 @@ 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}+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 -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 0cbbfda..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,3 +0,0 @@ -[DEFAULT] -unwanted-features = - clippy diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..7d1fbb7 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[features] +hide = ["clippy"] + diff --git a/sources b/sources index 655c7c6..2346c28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (derive_builder_core-0.12.0.crate) = f2e3cd5afd603273a1785fcef32b8cafbc89c422bc7754c46a9dade42f7351e3d6fcd00a5717e2617618f1bf71d5ce94abe043b19b4b6092d484955f1578d7fe +SHA512 (derive_builder_core-0.20.0.crate) = b4564364bea1c98563c7ec8b0bd99f260cc2b382a3a8f1156d401c57383b815a4a54e3e5f2446ccb2665eae600d6528faddf31d0f65678a3e5274073c2334073