From e3ae30f2669dc09cd76555fe9facd726c4b89650 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 21 Feb 2018 10:01:31 +0100 Subject: [PATCH] Update to 0.5.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + libloading-0.4.3-fix-metadata.diff | 11 ----------- libloading-0.5.0-fix-metadata.diff | 9 +++++++++ rust-libloading.spec | 15 ++++++++------- sources | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 libloading-0.4.3-fix-metadata.diff create mode 100644 libloading-0.5.0-fix-metadata.diff diff --git a/.gitignore b/.gitignore index d39e927..d01d476 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libloading-0.4.3.crate +/libloading-0.5.0.crate diff --git a/libloading-0.4.3-fix-metadata.diff b/libloading-0.4.3-fix-metadata.diff deleted file mode 100644 index e04d5cd..0000000 --- a/libloading-0.4.3-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- libloading-0.4.3/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ libloading-0.4.3/Cargo.toml 2018-01-03T16:36:53.270914+01:00 -@@ -22,8 +22,3 @@ - repository = "https://github.com/nagisa/rust_libloading/" - [dependencies.lazy_static] - version = "1" --[target."cfg(windows)".dependencies.kernel32-sys] --version = "0.2" -- --[target."cfg(windows)".dependencies.winapi] --version = "0.2" diff --git a/libloading-0.5.0-fix-metadata.diff b/libloading-0.5.0-fix-metadata.diff new file mode 100644 index 0000000..4f7c5d4 --- /dev/null +++ b/libloading-0.5.0-fix-metadata.diff @@ -0,0 +1,9 @@ +--- libloading-0.5.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ libloading-0.5.0/Cargo.toml 2018-02-21T10:03:18.726606+01:00 +@@ -22,6 +22,3 @@ + repository = "https://github.com/nagisa/rust_libloading/" + [build-dependencies.cc] + version = "1.0" +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["winerror", "errhandlingapi", "libloaderapi"] diff --git a/rust-libloading.spec b/rust-libloading.spec index ee8e677..dc82d6e 100644 --- a/rust-libloading.spec +++ b/rust-libloading.spec @@ -5,8 +5,8 @@ %global crate libloading Name: rust-%{crate} -Version: 0.4.3 -Release: 3%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Safer binding to platform’s dynamic library loading utilities License: ISC @@ -14,21 +14,19 @@ URL: https://crates.io/crates/libloading Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * No windows -Patch0: libloading-0.4.3-fix-metadata.diff +Patch0: libloading-0.5.0-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -# [dependencies] -BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: glibc-devel +# [build-dependencies] +BuildRequires: (crate(cc) >= 1.0.0 with crate(cc) < 2.0.0) %description %{summary}. %package devel Summary: %{summary} -Requires: glibc-devel BuildArch: noarch %description devel @@ -59,6 +57,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %changelog +* Wed Feb 21 2018 Igor Gnatenko - 0.5.0-1 +- Update to 0.5.0 + * Fri Feb 09 2018 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 5517efc..56c285f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libloading-0.4.3.crate) = ca5f6eef2241e7246d0d00808fc2feecfda4a424a2a34e5125ba020f5b555f6bad9aa26236b99b2515c465016dcb0a549cf3138cd8973d3a52e5ce12b75b9bc0 +SHA512 (libloading-0.5.0.crate) = c01939de6151c0e4cba4c99eca63946ac8398951602a24244c24190de425306fb8b65a26ec02f9d90206c134bb6c393b3f87d3cedb1275b5e40d4710254471db