From 7855b306f6c9de17bf64a2a5fae9d84d4f7739eb Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 7 Nov 2021 15:36:35 +0100 Subject: [PATCH] Update to version 0.7.1; Fixes RHBZ#2012453 --- .gitignore | 1 + libloading-fix-metadata.diff | 6 +++--- rust-libloading.spec | 9 +++++---- sources | 2 +- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 5ec0796..861b41c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /libloading-0.6.6.crate /libloading-0.6.7.crate /libloading-0.7.0.crate +/libloading-0.7.1.crate diff --git a/libloading-fix-metadata.diff b/libloading-fix-metadata.diff index 047c0df..760b7d7 100644 --- a/libloading-fix-metadata.diff +++ b/libloading-fix-metadata.diff @@ -1,6 +1,6 @@ ---- libloading-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ libloading-0.7.0/Cargo.toml 2021-03-03T16:16:09.326700+00:00 -@@ -31,6 +31,3 @@ +--- libloading-0.7.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libloading-0.7.1/Cargo.toml 2021-11-07T14:34:59.497149+00:00 +@@ -30,6 +30,3 @@ version = "1.1" [target."cfg(unix)".dependencies.cfg-if] version = "1" diff --git a/rust-libloading.spec b/rust-libloading.spec index aee1b63..96d4c2f 100644 --- a/rust-libloading.spec +++ b/rust-libloading.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 18 %bcond_without check %global debug_package %{nil} %global crate libloading Name: rust-%{crate} -Version: 0.7.0 +Version: 0.7.1 Release: %autorelease Summary: Safer binding to platform’s dynamic library loading utilities @@ -14,7 +14,7 @@ License: ISC URL: https://crates.io/crates/libloading Source: %{crates_source} # Initial patched metadata -# * No windows +# * drop windows-specific dependencies Patch0: libloading-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +25,8 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Safer binding to platform’s dynamic library loading utilities.} +Bindings around the platform's dynamic library loading primitives with greatly +improved memory safety.} %description %{_description} diff --git a/sources b/sources index 8553e34..250ebea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libloading-0.7.0.crate) = e2089a8ecacd65522b246cebcf531b6b1ce697d4eaf294e0540e1f34bfd714037177ba802406c31e6bcc722b4f391a84709427de1c6fb441cdeb8e41fd4f1e28 +SHA512 (libloading-0.7.1.crate) = b06a668868bc6b4ca0c39dcd83faa71e5c28ba0be772f96f8445a61feddef797d40be1d1180f51b2dad1a77abde2a40a55204d91b1ee9033fef22544968ac0df