diff --git a/.gitignore b/.gitignore index e2073f8..fe462c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /strum_macros-0.15.0.crate /strum_macros-0.17.1.crate /strum_macros-0.18.0.crate +/strum_macros-0.21.1.crate diff --git a/rust-strum_macros.spec b/rust-strum_macros.spec index 9567206..3eaf9c3 100644 --- a/rust-strum_macros.spec +++ b/rust-strum_macros.spec @@ -1,18 +1,22 @@ -# Generated by rust2rpm 13 -%bcond_without check +# Generated by rust2rpm 17 +# Cyclic with strum +%bcond_with check %global debug_package %{nil} %global crate strum_macros Name: rust-%{crate} -Version: 0.18.0 -Release: 4%{?dist} +Version: 0.21.1 +Release: 1%{?dist} Summary: Helpful macros for working with enums and strings # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/strum_macros Source: %{crates_source} +# Initial patched metadata +# - Bump strum to 0.21.0 +Patch0: strum_macros-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -51,150 +55,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+verbose-asrefstr-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-asrefstr-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-asrefstr-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-asrefstr-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-asstaticstr-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-asstaticstr-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-asstaticstr-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-asstaticstr-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-display-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-display-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-display-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-display-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enumcount-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enumcount-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enumcount-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enumcount-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enumdiscriminants-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enumdiscriminants-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enumdiscriminants-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enumdiscriminants-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enumiter-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enumiter-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enumiter-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enumiter-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enummessage-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enummessage-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enummessage-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enummessage-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enumproperty-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enumproperty-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enumproperty-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enumproperty-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-enumstring-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-enumstring-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-enumstring-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-enumstring-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-intostaticstr-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-intostaticstr-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-intostaticstr-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-intostaticstr-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-tostring-name-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-tostring-name-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-tostring-name" feature of "%{crate}" crate. - -%files -n %{name}+verbose-tostring-name-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+verbose-variant-names-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+verbose-variant-names-devel %{_description} - -This package contains library source intended for building other packages -which use "verbose-variant-names" feature of "%{crate}" crate. - -%files -n %{name}+verbose-variant-names-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -214,6 +74,10 @@ which use "verbose-variant-names" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 16 2021 Robert-André Mauchin - 0.21.1-1 +- Update to 0.21.1 +- Close: rhbz#1862741 + * Wed Jan 27 2021 Fedora Release Engineering - 0.18.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 5247cf2..177ca15 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strum_macros-0.18.0.crate) = df13553e2b89b2c87be3948f4881434a5eb851d0318fafab9eeb9764ea56ae8ebd50639d10fa508f674442a859d4cbd4d344c7d1253fc7f8eed3443891f4defd +SHA512 (strum_macros-0.21.1.crate) = 85ea12f8e03f04c427b99e027065279bd559ea1c51532c6f35cc842218e350e27349258f0fe25f5efc9fca047387da3ec5d670f94a50d574b15f4b5f1c99ddea diff --git a/strum_macros-fix-metadata.diff b/strum_macros-fix-metadata.diff new file mode 100644 index 0000000..123615c --- /dev/null +++ b/strum_macros-fix-metadata.diff @@ -0,0 +1,8 @@ +--- strum_macros-0.21.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ strum_macros-0.21.1/Cargo.toml 2021-06-16T19:40:26.607494+00:00 +@@ -40,4 +40,4 @@ + version = "1.0" + features = ["parsing", "extra-traits"] + [dev-dependencies.strum] +-version = "0.20" ++version = "0.21"