From 068403ec42543f18eacbec6ae4b1a4f534ee18b7 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 29 May 2020 16:56:01 -0700 Subject: [PATCH] Update to 0.6.2 --- .gitignore | 1 + libloading-fix-metadata.diff | 10 +++++----- rust-libloading.spec | 15 ++++++++------- sources | 2 +- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index b55af0d..51a2992 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /libloading-0.5.0.crate /libloading-0.5.1.crate /libloading-0.5.2.crate +/libloading-0.6.2.crate diff --git a/libloading-fix-metadata.diff b/libloading-fix-metadata.diff index 44b978b..69801ff 100644 --- a/libloading-fix-metadata.diff +++ b/libloading-fix-metadata.diff @@ -1,9 +1,9 @@ ---- libloading-0.5.2/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ libloading-0.5.2/Cargo.toml 2019-07-13T09:17:13.723792+00:00 -@@ -22,6 +22,3 @@ +--- libloading-0.6.2/Cargo.toml 2020-05-06T03:28:38+00:00 ++++ libloading-0.6.2/Cargo.toml 2020-05-29T23:47:12.578572+00:00 +@@ -20,6 +20,3 @@ + keywords = ["dlopen", "load", "shared", "dylib"] + license = "ISC" 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 732d8a6..6d94449 100644 --- a/rust-libloading.spec +++ b/rust-libloading.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate libloading Name: rust-%{crate} -Version: 0.5.2 -Release: 3%{?dist} +Version: 0.6.2 +Release: 1%{?dist} Summary: Safer binding to platform’s dynamic library loading utilities # Upstream license specification: ISC @@ -41,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc README.mkd -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,12 +53,10 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -# remove mistakenly packaged files -rm -f -v out src/os/unix/global_static.ll %cargo_prep %generate_buildrequires @@ -76,6 +74,9 @@ rm -f -v out src/os/unix/global_static.ll %endif %changelog +* Fri May 29 2020 Josh Stone - 0.6.2-1 +- Update to 0.6.2 + * Thu Jan 30 2020 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index de0e098..2677ff8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libloading-0.5.2.crate) = d04cb1bb220c9364c02da4f360593907c875951fc0f6de5da1455bac4e96a470128409f77b21194fd6a87550f3ba00abe3b7a3426e7637acb62b80d61da46be4 +SHA512 (libloading-0.6.2.crate) = 02e65e3ade29dfee2e8db8f9f0a506ebc5bb792700cf5b1eff094c58f6aded748c51b675ebb5f7babbad2806923b478f340e879b4719995a112a7c25869cd3fa