diff --git a/.gitignore b/.gitignore index a7c6be8..4a3a98c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /strum-0.15.0.crate +/strum-0.17.1.crate diff --git a/rust-strum.spec b/rust-strum.spec index 66850c8..b02fc0b 100644 --- a/rust-strum.spec +++ b/rust-strum.spec @@ -1,16 +1,15 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate strum Name: rust-%{crate} -Version: 0.15.0 -Release: 4%{?dist} +Version: 0.17.1 +Release: 1%{?dist} Summary: Helpful macros for working with enums and strings # Upstream license specification: MIT -# https://github.com/Peternator7/strum/issues/55 License: MIT URL: https://crates.io/crates/strum Source: %{crates_source} @@ -37,7 +36,8 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version}/ +%license LICENSE +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +49,31 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+derive-devel +Summary: %{summary} +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. + +%files -n %{name}+derive-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+strum_macros-devel +Summary: %{summary} +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. + +%files -n %{name}+strum_macros-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -70,6 +94,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Feb 21 2020 Josh Stone - 0.17.1-1 +- Update to 0.17.1 + * Thu Jan 30 2020 Fedora Release Engineering - 0.15.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index f42eabc..8018311 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (strum-0.15.0.crate) = 85eb70f7a514dbc7a69a4b002fe82c0787b907d37d3ce83e78b3f35317b0dccdf9f247f4b3cc7265e3f572d2bf9685e1f06254258f95c135e2fa26ae98715d64 +SHA512 (strum-0.17.1.crate) = 8e22d02ad05c1718b013fb27b63f2d09c631c037e1fa6e27d78cb5e1b8b11bb2dbbcaff49a76dc795a6de9629765c36fb04e3c9549e4c01ad88ed1df474899e9