Update to 0.3.7

epel9
Josh Stone 7 years ago
parent d933b7125c
commit 3fee83e3a0

1
.gitignore vendored

@ -1 +1,2 @@
/mime-0.3.5.crate
/mime-0.3.7.crate

@ -1,37 +0,0 @@
From ced70c2ff0ea01e7e99ffcfb0431c1326e9b5cb2 Mon Sep 17 00:00:00 2001
From: Philipp Korber <philippkorber@gmail.com>
Date: Tue, 7 Nov 2017 13:37:11 +0100
Subject: [PATCH] fix: now can be used again on nightly
(rust stability gurantees do not apply to
crates using deny(warnings) as introducing
warnings is not seen as a braking change)
---
src/lib.rs | 1 +
src/parse.rs | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/lib.rs b/src/lib.rs
index f01d6f2..f9bff72 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -452,6 +452,7 @@ macro_rules! names {
#[test]
fn test_names_macro_consts() {
+ #[allow(warnings)]
use std::ascii::AsciiExt;
$(
assert_eq!($id.source.to_ascii_lowercase(), $id.source);
diff --git a/src/parse.rs b/src/parse.rs
index c61afcf..2fba380 100644
--- a/src/parse.rs
+++ b/src/parse.rs
@@ -1,3 +1,4 @@
+#[allow(unused_imports)]
use std::ascii::AsciiExt;
use std::error::Error;
use std::fmt;
--
2.16.1

@ -5,15 +5,13 @@
%global crate mime
Name: rust-%{crate}
Version: 0.3.5
Release: 4%{?dist}
Version: 0.3.7
Release: 1%{?dist}
Summary: Strongly Typed Mimes
License: MIT or ASL 2.0
URL: https://crates.io/crates/mime
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# https://github.com/hyperium/mime/commit/ced70c2ff0ea01e7e99ffcfb0431c1326e9b5cb2
Patch0: 0001-fix-now-can-be-used-again-on-nightly.patch
ExclusiveArch: %{rust_arches}
@ -55,6 +53,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Sat May 05 2018 Josh Stone <jistone@redhat.com> - 0.3.7-1
- Update to 0.3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

@ -1 +1 @@
SHA512 (mime-0.3.5.crate) = 323aea6093018a22485b55d788580781049636763bbe564e54c5b61d826127815f27c2d4b71174b9bf6ee244580a3ac8c15faacd209ffff6b4234da2261490d7
SHA512 (mime-0.3.7.crate) = 09d288eba63119f98623976d96204af1b2330cb5e52c4c42e3f8bc188c0d7fb6eee5e19b04068bcb8ebc7ab1b705a76b702a50329080f51f52b80c0e2f734aea

Loading…
Cancel
Save