From 5a6237d78790290cb4e1dbf724ca26b8d8c7045d Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 3 Feb 2023 16:09:17 +0100 Subject: [PATCH] Update to version 0.5.9; Fixes RHBZ#2159579 --- .gitignore | 1 + rust-num_enum.spec | 23 ++++------------------- sources | 2 +- 3 files changed, 6 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 24a2da6..2e66fac 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /num_enum-0.5.4.crate /num_enum-0.5.5.crate /num_enum-0.5.7.crate +/num_enum-0.5.9.crate diff --git a/rust-num_enum.spec b/rust-num_enum.spec index 7e1cf68..ba7b1f1 100644 --- a/rust-num_enum.spec +++ b/rust-num_enum.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate num_enum -Name: rust-%{crate} -Version: 0.5.7 +Name: rust-num_enum +Version: 0.5.9 Release: %autorelease Summary: Procedural macros to make inter-operation between primitives and enums easier -# Upstream license specification: BSD-3-Clause OR MIT OR Apache-2.0 -License: BSD or MIT or ASL 2.0 +License: BSD-3-Clause OR MIT OR Apache-2.0 URL: https://crates.io/crates/num_enum Source: %{crates_source} -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: @@ -75,18 +72,6 @@ use the "external_doc" feature of the "%{crate}" crate. %files -n %{name}+external_doc-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+nightly-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+nightly-devel %{_description} - -This package contains library source intended for building other packages which -use the "nightly" feature of the "%{crate}" crate. - -%files -n %{name}+nightly-devel -%ghost %{crate_instdir}/Cargo.toml - %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index e3da22e..77c5896 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num_enum-0.5.7.crate) = 14749c9fb3cb30366e4915b2afd00b1f005de753ac3458982ef53285efa718c8059bf4804f4db170f43c1978c222aa706f30757c191f8613b8165a54a7c5f4ce +SHA512 (num_enum-0.5.9.crate) = 33f97fa6b310a4f5448237e6ece3e9003347a0f2867ab5351ecd84d41b8d0fcb9b2f99ec3be714cff3a6b4a6d444b024b6998214bf2f2331e76117c389cd7e73