diff --git a/.gitignore b/.gitignore index b66d3bb..eab0f05 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /downcast-rs-1.0.3.crate /downcast-rs-1.0.4.crate /downcast-rs-1.1.1.crate +/downcast-rs-1.2.0.crate diff --git a/rust-downcast-rs.spec b/rust-downcast-rs.spec index 70cb585..329eeff 100644 --- a/rust-downcast-rs.spec +++ b/rust-downcast-rs.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_with check %global debug_package %{nil} %global crate downcast-rs Name: rust-%{crate} -Version: 1.1.1 -Release: 2%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Trait object downcasting support using only safe Rust # Upstream license specification: MIT/Apache-2.0 @@ -39,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md README.tpl -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -51,7 +51,19 @@ 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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -72,6 +84,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jul 10 2020 Josh Stone - 1.2.0-1 +- Update to 1.2.0 + * Thu Jan 30 2020 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 2a3999a..6429382 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (downcast-rs-1.1.1.crate) = ab5e7233923c4580ed507be976c124ac684b99d567b5fac78661714f11b88f12bfadca5c34dcdf3f18ce12011fa1ad2a55884b4390559a4836e00ee4d1d85a7a +SHA512 (downcast-rs-1.2.0.crate) = b80b72f30b42c5e6b2bd33287f2dd22be5673b2fa5c1a8c75c5de224fc7eca46a55f2fce63c02d225dfbc94ac3462b4b2fec53d63331c70da6307ebcdcc6cb14