Fix unused_imports warning for AsciiExt (rust 1.23)

epel9
Josh Stone 7 years ago
parent e586779474
commit 004f5357ca

@ -0,0 +1,10 @@
--- pkg-config-0.3.9/src/lib.rs.asciiext 2017-01-24 09:27:31.000000000 -0800
+++ pkg-config-0.3.9/src/lib.rs 2018-01-25 18:11:44.581051903 -0800
@@ -64,6 +64,7 @@
#![doc(html_root_url = "https://docs.rs/pkg-config/0.3")]
#![cfg_attr(test, deny(warnings))]
+#[allow(unused_imports)]
use std::ascii::AsciiExt;
use std::env;
use std::error;

@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.3.9
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Library to run the pkg-config system tool
License: MIT or ASL 2.0
@ -15,6 +15,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
# Initial patched metadata
# * Bump lazy_static to 1, https://github.com/alexcrichton/pkg-config-rs/commit/41b81f57113a1df40e899ed83dc829ab60423f33
Patch0: pkg-config-0.3.9-fix-metadata.diff
Patch1: pkg-config-0.3.9-fix-unused-asciiext.diff
ExclusiveArch: %{rust_arches}
@ -60,6 +61,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Thu Jan 25 2018 Josh Stone <jistone@redhat.com> - 0.3.9-5
- Fix unused_imports warning for AsciiExt (rust 1.23)
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-4
- Rebuild for rust-packaging v5

Loading…
Cancel
Save