Update to version 2.0.4

epel9 imports/e9/rust-mime_guess-2.0.4-1.el9
Fabio Valentini 2 years ago
parent 452c7f6774
commit a22a72def1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/mime_guess-2.0.0-alpha.6.crate /mime_guess-2.0.0-alpha.6.crate
/mime_guess-2.0.1.crate /mime_guess-2.0.1.crate
/mime_guess-2.0.3.crate /mime_guess-2.0.3.crate
/mime_guess-2.0.4.crate

@ -0,0 +1,11 @@
--- mime_guess-2.0.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ mime_guess-2.0.4/Cargo.toml 2022-11-04T18:09:50.532876+00:00
@@ -32,8 +32,6 @@
[dependencies.unicase]
version = "2.4.0"
-[dev-dependencies.criterion]
-version = "0.3"
[build-dependencies.unicase]
version = "2.4.0"

@ -1,25 +1,22 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate mime_guess %global crate mime_guess
Name: rust-%{crate} Name: rust-mime_guess
Version: 2.0.3 Version: 2.0.4
Release: %autorelease Release: %autorelease
Summary: Simple crate for detection of a file's MIME type by its extension Summary: Simple crate for detection of a file's MIME type by its extension
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/mime_guess URL: https://crates.io/crates/mime_guess
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: mime_guess-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Simple crate for detection of a file's MIME type by its extension.} Simple crate for detection of a file's MIME type by its extension.}
@ -32,13 +29,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rev-mappings-devel %package -n %{name}+rev-mappings-devel
Summary: %{summary} Summary: %{summary}
@ -58,11 +55,11 @@ BuildArch: noarch
%description -n %{name}+rev-mappings-devel %{_description} %description -n %{name}+rev-mappings-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "rev-mappings" feature of "%{crate}" crate. use the "rev-mappings" feature of the "%{crate}" crate.
%files -n %{name}+rev-mappings-devel %files -n %{name}+rev-mappings-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (mime_guess-2.0.3.crate) = b08013ce235e66eaf49a88ab4c5cf4d1f1b95846c1bbdc1a73efea9052058860c7dbe2b028fe1b33c713621862fe9af2ed097558cbf5e08903ee406a44af162d SHA512 (mime_guess-2.0.4.crate) = acfbbfdc5bd725edde43e4915858b8d016e90a5b483664f0bcd5e8d2b0b3684bf0f6020aea147b5bf429f218a7af8080761cea4c5c04b68fa66fd6a676376908

Loading…
Cancel
Save