Update to version 0.5.3; Fixes RHBZ#1989448

epel9
Fabio Valentini 3 years ago
parent f5f910aa91
commit fdda8cd81a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,2 +1,3 @@
/num_enum-0.5.1.crate /num_enum-0.5.1.crate
/num_enum-0.5.2.crate /num_enum-0.5.2.crate
/num_enum-0.5.3.crate

@ -5,7 +5,7 @@
%global crate num_enum %global crate num_enum
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.5.2 Version: 0.5.3
Release: %autorelease Release: %autorelease
Summary: Procedural macros to make inter-operation between primitives and enums easier Summary: Procedural macros to make inter-operation between primitives and enums easier
@ -90,6 +90,11 @@ which use "std" feature of "%{crate}" crate.
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
# remove tests that rely on files that are not shipped with crates
rm tests/renamed_num_enum.rs
# remove broken trybuild tests that rely on exact error messages
rm tests/try_build.rs
rm -r tests/try_build/*
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
@ -103,10 +108,6 @@ which use "std" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# Disable broken tests
rm tests/renamed_num_enum.rs \
tests/try_build/compile_fail/conflicting_derive.rs \
tests/try_build/compile_fail/unreachable_patterns.rs
%cargo_test %cargo_test
%endif %endif

@ -1 +1 @@
SHA512 (num_enum-0.5.2.crate) = d0f4a450cadaf0a845624c1710b976cd6e878eef0f298c196c0d40ec7e996ba1e715df7301d014b60d5769ee30bddd52cb95ca1f78bf14517b5997136cdbe0cf SHA512 (num_enum-0.5.3.crate) = c3c3c4e91c55e6960f0e56a582f10657fbaeac5b819851cce7097353ef60865b50f250be231dbbf1de62b3a86d17ea4749e30a3127bd3ed4fafd1d141b15f5bf

Loading…
Cancel
Save