From eb7182bd816129de1624893f7895df39477ef6dd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 20 Oct 2023 10:45:49 +0200 Subject: [PATCH] Update to version 0.12.12; Fixes RHBZ#2245143 --- .gitignore | 1 + rust-target-lexicon.spec | 20 ++++++++++++++++---- sources | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ce0a7fa..df30f15 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /target-lexicon-0.12.9.crate /target-lexicon-0.12.10.crate /target-lexicon-0.12.11.crate +/target-lexicon-0.12.12.crate diff --git a/rust-target-lexicon.spec b/rust-target-lexicon.spec index 87333df..f61cb7b 100644 --- a/rust-target-lexicon.spec +++ b/rust-target-lexicon.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate target-lexicon Name: rust-target-lexicon -Version: 0.12.11 +Version: 0.12.12 Release: %autorelease Summary: Targeting utilities for compilers and related tools @@ -13,7 +13,7 @@ License: Apache-2.0 WITH LLVM-exception URL: https://crates.io/crates/target-lexicon Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Targeting utilities for compilers and related tools.} @@ -46,6 +46,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+arch_zkasm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arch_zkasm-devel %{_description} + +This package contains library source intended for building other packages which +use the "arch_zkasm" feature of the "%{crate}" crate. + +%files -n %{name}+arch_zkasm-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -83,7 +95,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 diff --git a/sources b/sources index c51a0e5..21a2fdf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (target-lexicon-0.12.11.crate) = f38701a8e9dd17b7db591b1b4c82c3b75d317e003262bb7b09b9cabd3afab5ab79c02a7dd524910b6941ada3a8f1378ea9e199b2b5938f8f01ee75bb0eae8718 +SHA512 (target-lexicon-0.12.12.crate) = 6147295c43ba1b7b087a3c5ab51534b2985e4e77e5e15687978cfb9d07e21c4fd9bc7191576d6cabd268d08a44dc733c4a957e59dba8b948c2055d8bb433aeca