From f4ffe69f9996871fb9fac43be6aca410eccf9ee0 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 28 Feb 2020 20:25:07 -0800 Subject: [PATCH] Update to 2.0.3 --- .gitignore | 1 + mime_guess-fix-metadata.diff | 11 ----------- rust-mime_guess.spec | 18 +++++++++--------- sources | 2 +- 4 files changed, 11 insertions(+), 21 deletions(-) delete mode 100644 mime_guess-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 33441bc..0f39ead 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /mime_guess-2.0.0-alpha.6.crate /mime_guess-2.0.1.crate +/mime_guess-2.0.3.crate diff --git a/mime_guess-fix-metadata.diff b/mime_guess-fix-metadata.diff deleted file mode 100644 index 7ff4c37..0000000 --- a/mime_guess-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- mime_guess-2.0.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ mime_guess-2.0.1/Cargo.toml 2019-09-13T16:27:39.599697+00:00 -@@ -34,7 +34,7 @@ - [dependencies.unicase] - version = "2.4.0" - [dev-dependencies.criterion] --version = "0.2" -+version = "0.3" - [build-dependencies.unicase] - version = "2.4.0" - diff --git a/rust-mime_guess.spec b/rust-mime_guess.spec index 8db6a64..64c64ec 100644 --- a/rust-mime_guess.spec +++ b/rust-mime_guess.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate mime_guess Name: rust-%{crate} -Version: 2.0.1 -Release: 3%{?dist} +Version: 2.0.3 +Release: 1%{?dist} Summary: Simple crate for detection of a file's MIME type by its extension # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/mime_guess Source: %{crates_source} -# Initial patched metadata -# - Bump criterion to 0.3 https://github.com/abonander/mime_guess/pull/53 -Patch0: mime_guess-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +50,7 @@ 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}+rev-mappings-devel Summary: %{summary} @@ -65,7 +62,7 @@ This package contains library source intended for building other packages which use "rev-mappings" feature of "%{crate}" crate. %files -n %{name}+rev-mappings-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -86,6 +83,9 @@ which use "rev-mappings" feature of "%{crate}" crate. %endif %changelog +* Sat Feb 29 2020 Josh Stone - 2.0.3-1 +- Update to 2.0.3 + * Thu Jan 30 2020 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index c752e0d..4686838 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mime_guess-2.0.1.crate) = c4d83d8c05b1173c531eea48073762dcc5e80efc2609e06dfc1413ae2f3a3f7d89e533453aeaa75182a8b663c51c7ad0d4eb0b5b4450afc8e11fd74b84a9799f +SHA512 (mime_guess-2.0.3.crate) = b08013ce235e66eaf49a88ab4c5cf4d1f1b95846c1bbdc1a73efea9052058860c7dbe2b028fe1b33c713621862fe9af2ed097558cbf5e08903ee406a44af162d