Update to version 0.24.0; Fixes RHBZ#2012679

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

1
.gitignore vendored

@ -2,3 +2,4 @@
/strum_macros-0.17.1.crate /strum_macros-0.17.1.crate
/strum_macros-0.18.0.crate /strum_macros-0.18.0.crate
/strum_macros-0.21.1.crate /strum_macros-0.21.1.crate
/strum_macros-0.24.0.crate

@ -1,12 +1,12 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 21
# Cyclic with strum # * resolve dependency loop with strum
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate strum_macros %global crate strum_macros
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.21.1 Version: 0.24.0
Release: %autorelease Release: %autorelease
Summary: Helpful macros for working with enums and strings Summary: Helpful macros for working with enums and strings
@ -14,16 +14,10 @@ Summary: Helpful macros for working with enums and strings
License: MIT License: MIT
URL: https://crates.io/crates/strum_macros URL: https://crates.io/crates/strum_macros
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# - Bump strum to 0.21.0
Patch0: strum_macros-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Helpful macros for working with enums and strings.} Helpful macros for working with enums and strings.}
@ -36,12 +30,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (strum_macros-0.21.1.crate) = 85ea12f8e03f04c427b99e027065279bd559ea1c51532c6f35cc842218e350e27349258f0fe25f5efc9fca047387da3ec5d670f94a50d574b15f4b5f1c99ddea SHA512 (strum_macros-0.24.0.crate) = 3a6a13d8c705b71dfa69857b04e821e63df21109d4469363e5eac51299a135f98865b6eaec5826949c4d8606d7b5242393ce57de16bb0318e40f73de284ba65a

Loading…
Cancel
Save