From a5cba9407d2d51b84061e3765da6f77fe0265035 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Nov 23 2019 01:51:51 +0000 Subject: Update to 0.4.6 --- diff --git a/.gitignore b/.gitignore index e7fce41..1493ee6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /rustfix-0.4.2.crate /rustfix-0.4.4.crate /rustfix-0.4.5.crate +/rustfix-0.4.6.crate diff --git a/rust-rustfix.spec b/rust-rustfix.spec index b9acb3b..1f84495 100644 --- a/rust-rustfix.spec +++ b/rust-rustfix.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 10 # * Tests are run in infrastructure %bcond_with check %global debug_package %{nil} @@ -6,8 +6,8 @@ %global crate rustfix Name: rust-%{crate} -Version: 0.4.5 -Release: 2%{?dist} +Version: 0.4.6 +Release: 1%{?dist} Summary: Automatically apply the suggestions made by rustc # Upstream license specification: Apache-2.0/MIT @@ -19,24 +19,14 @@ Source: %{crates_source} Patch0: rustfix-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(failure/default) >= 0.1.2 with crate(failure/default) < 0.2.0) -BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0) -BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(difference/default) >= 2.0.0 with crate(difference/default) < 3.0.0) -BuildRequires: (crate(duct/default) >= 0.9.0 with crate(duct/default) < 0.10.0) -BuildRequires: (crate(env_logger/default) >= 0.5.0 with crate(env_logger/default) < 0.6.0) -BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0) -BuildRequires: (crate(proptest/default) >= 0.7.0 with crate(proptest/default) < 0.8.0) -BuildRequires: (crate(tempdir/default) >= 0.3.5 with crate(tempdir/default) < 0.4.0) -%endif -%global _description \ -Automatically apply the suggestions made by rustc. +%global _description %{expand: +Automatically apply the suggestions made by rustc.} %description %{_description} @@ -71,6 +61,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -83,6 +76,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 23 2019 Josh Stone - 0.4.6-1 +- Update to 0.4.6 + * Fri Jul 26 2019 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 73f22ee..6a39f65 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustfix-0.4.5.crate) = 8ee5566dd5ddbf5f88543324a7caccb36f47e9c754a658d9e52b8ff966e8b1de9892dbcfb8d8c70c660758315cf21718e9b81b32b27faf4a978b3b144f19310b +SHA512 (rustfix-0.4.6.crate) = 76927c924025bcecd885a71e5f8802e6f44700afceac4acc67e0caa3e594ed6445879d92088cd4d01f8f1e00d8e09cdee9e2274a3a83ade9db24f0a67d04949d