Update to version 0.3.17; Fixes RHBZ#2180062

epel9 imports/e9/rust-mime-0.3.17-1.el9
Fabio Valentini 2 years ago
parent c9fbdac702
commit 9352d34f5b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -6,3 +6,4 @@
/mime-0.3.13.crate
/mime-0.3.14.crate
/mime-0.3.16.crate
/mime-0.3.17.crate

@ -1,3 +0,0 @@
# rust-mime
The rust-mime package

@ -1,25 +1,19 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate mime
Name: rust-%{crate}
Version: 0.3.16
Name: rust-mime
Version: 0.3.17
Release: %autorelease
Summary: Strongly Typed Mimes
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/mime
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Strongly Typed Mimes.}
@ -32,13 +26,15 @@ 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 CONTRIBUTING.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CONTRIBUTING.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +42,11 @@ 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
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -67,7 +63,8 @@ which use "default" feature of "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# * skip a broken test: https://github.com/hyperium/mime/issues/146
%cargo_test -- -- --skip parse::test_parse_iterator_all_invalid
%endif
%changelog

@ -1 +1 @@
SHA512 (mime-0.3.16.crate) = cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c
SHA512 (mime-0.3.17.crate) = e6d2ca92bb58fc747c1bb65a7f9023e5dbf4b94966003a72e4913bcaaeccdd6752725cdbd5081e0fd69d9e8f364d79664fcbe70061737d5c39e5b3e3a154a0d1

Loading…
Cancel
Save