From 3c52265033f4d9c0e9051acc4fe21cbaf31f3873 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 22 Feb 2022 00:46:30 +0100 Subject: [PATCH] Update to version 0.6.0; Fixes RHBZ#1970075 --- .gitignore | 1 + rust-rustfix.spec | 25 +++++++++---------------- rustfix-fix-metadata.diff | 11 ----------- sources | 2 +- 4 files changed, 11 insertions(+), 28 deletions(-) delete mode 100644 rustfix-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a49f1ba..6739a2e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /rustfix-0.4.6.crate /rustfix-0.5.0.crate /rustfix-0.5.1.crate +/rustfix-0.6.0.crate diff --git a/rust-rustfix.spec b/rust-rustfix.spec index 20cf820..5484307 100644 --- a/rust-rustfix.spec +++ b/rust-rustfix.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 13 -# * Tests are run in infrastructure +# Generated by rust2rpm 20 +# * dev-dependencies are outdated %bcond_with check %global debug_package %{nil} %global crate rustfix Name: rust-%{crate} -Version: 0.5.1 +Version: 0.6.0 Release: %autorelease Summary: Automatically apply the suggestions made by rustc @@ -14,14 +14,8 @@ Summary: Automatically apply the suggestions made by rustc License: ASL 2.0 or MIT URL: https://crates.io/crates/rustfix Source: %{crates_source} -# Initial patched metadata -# * Use released version of env_logger -Patch0: rustfix-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -36,14 +30,13 @@ 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-MIT LICENSE-APACHE -%doc Readme.md +%license LICENSE-APACHE LICENSE-MIT +%doc Changelog.md Readme.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ -%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/bors.toml %package -n %{name}+default-devel Summary: %{summary} @@ -51,8 +44,8 @@ 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 diff --git a/rustfix-fix-metadata.diff b/rustfix-fix-metadata.diff deleted file mode 100644 index fa99914..0000000 --- a/rustfix-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- rustfix-0.4.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ rustfix-0.4.2/Cargo.toml 2018-10-21T09:49:46.001179+02:00 -@@ -41,7 +41,7 @@ - version = "0.9" - - [dev-dependencies.env_logger] --version = "0.5.0-rc.1" -+version = "0.5" - - [dev-dependencies.log] - version = "0.4.1" diff --git a/sources b/sources index 5994d4e..84fb3aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustfix-0.5.1.crate) = 61990f482a5d490154fc55d7c052464e50268c0f752068669afb3c387d27a1e980a052ba29fe0aa301cbe4b17c7374db071a8a38d3562c943e8292605c40b3a4 +SHA512 (rustfix-0.6.0.crate) = 289511e3d454807015a2b8e869a458d764512754431bcc595cf3e3f147ffdb172a872363988b10a0d699d2de7734cde47901f57df965eee831854653cb35cad4