From 570beb97a822fde5648f17fa6a542f7dd4e10932 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 15 Jan 2024 16:42:19 +0100 Subject: [PATCH] Update to version 0.4.1; Fixes RHBZ#2218732 --- .gitignore | 1 + rust-num-derive.spec | 20 ++++---------------- sources | 2 +- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 7b2c28a..0387b75 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /num-derive-0.3.1.crate /num-derive-0.3.2.crate /num-derive-0.3.3.crate +/num-derive-0.4.1.crate diff --git a/rust-num-derive.spec b/rust-num-derive.spec index 9bf47f0..3d6272b 100644 --- a/rust-num-derive.spec +++ b/rust-num-derive.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate num-derive Name: rust-num-derive -Version: 0.3.3 +Version: 0.4.1 Release: %autorelease Summary: Numeric syntax extensions @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/num-derive Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Numeric syntax extensions.} @@ -48,20 +48,8 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+full-syntax-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+full-syntax-devel %{_description} - -This package contains library source intended for building other packages which -use the "full-syntax" feature of the "%{crate}" crate. - -%files -n %{name}+full-syntax-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/sources b/sources index 541b112..24ce537 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-derive-0.3.3.crate) = e0f4d06fff26c2d2b140ff5ec1ba655a46c8d8fda484f03a8ad4910e8cf1392f0130d5c0bfbbe3bfb95da1f93e964f73364de6551fddd81e6fc27bfa35c15053 +SHA512 (num-derive-0.4.1.crate) = ea7bcb94e83698609d055981ac5f112e9b18edc87a767c0ad77d31bfb6fdd0d552f5a23934e2956bff56777e9460c08ea05a5ac636bcc6d45512e4c330260d30