Update to version 0.24.0; Fixes RHBZ#2012678

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

1
.gitignore vendored

@ -2,3 +2,4 @@
/strum-0.17.1.crate
/strum-0.18.0.crate
/strum-0.21.0.crate
/strum-0.24.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate strum
Name: rust-%{crate}
Version: 0.21.0
Version: 0.24.0
Release: %autorelease
Summary: Helpful macros for working with enums and strings
@ -15,11 +15,8 @@ URL: https://crates.io/crates/strum
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Helpful macros for working with enums and strings.}
@ -32,12 +29,12 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -45,11 +42,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+derive-devel
Summary: %{summary}
@ -57,11 +54,23 @@ BuildArch: noarch
%description -n %{name}+derive-devel %{_description}
This package contains library source intended for building other packages
which use "derive" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "derive" feature of the "%{crate}" crate.
%files -n %{name}+derive-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+strum_macros-devel
Summary: %{summary}
@ -69,11 +78,11 @@ BuildArch: noarch
%description -n %{name}+strum_macros-devel %{_description}
This package contains library source intended for building other packages
which use "strum_macros" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "strum_macros" feature of the "%{crate}" crate.
%files -n %{name}+strum_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -90,7 +99,7 @@ which use "strum_macros" feature of "%{crate}" crate.
%if %{with check}
%check
%cargo_test -- --features derive
%cargo_test -f derive
%endif
%changelog

@ -1 +1 @@
SHA512 (strum-0.21.0.crate) = 687a99aa93616e16510213b66f53be35561d19cd19f9776084e9d6d33f8576f5eec7a806a0e48997da2b41e6f563a05424c1d5cb5ab2b4a2310cfe1d3b10a5a6
SHA512 (strum-0.24.0.crate) = 9136deb6bc6c4d48123b2df0f0bb4a46212622ed7bf92f6080a6520e7ce8610f7b55102357cd50d635977d7cde13581f80ce372d8473733b66070e4945166dd0

Loading…
Cancel
Save