Update to version 0.7.4; Fixes RHBZ#2140482

epel9
Fabio Valentini 2 years ago
parent 34875891fb
commit 9d0b2e9727
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -12,3 +12,4 @@
/libloading-0.7.1.crate /libloading-0.7.1.crate
/libloading-0.7.2.crate /libloading-0.7.2.crate
/libloading-0.7.3.crate /libloading-0.7.3.crate
/libloading-0.7.4.crate

@ -0,0 +1,12 @@
--- libloading-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libloading-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -43,9 +43,3 @@
[target."cfg(unix)".dependencies.cfg-if]
version = "1"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = [
- "errhandlingapi",
- "libloaderapi",
-]

@ -1,9 +0,0 @@
--- libloading-0.7.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ libloading-0.7.3/Cargo.toml 2022-01-26T22:49:41.550218+00:00
@@ -31,6 +31,3 @@
version = "1.1"
[target."cfg(unix)".dependencies.cfg-if]
version = "1"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["errhandlingapi", "libloaderapi"]

@ -1,25 +1,21 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate libloading %global crate libloading
Name: rust-%{crate} Name: rust-libloading
Version: 0.7.3 Version: 0.7.4
Release: %autorelease Release: %autorelease
Summary: Safer binding to platforms dynamic library loading utilities Summary: Bindings for native dynamic library loading primitives
# Upstream license specification: ISC
License: ISC License: ISC
URL: https://crates.io/crates/libloading URL: https://crates.io/crates/libloading
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop windows-specific dependencies Patch: libloading-fix-metadata-auto.diff
Patch0: libloading-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Bindings around the platform's dynamic library loading primitives with greatly Bindings around the platform's dynamic library loading primitives with greatly
@ -37,9 +33,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.mkd %doc %{crate_instdir}/README.mkd
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -51,7 +47,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (libloading-0.7.3.crate) = 58da6e73f86aa05132949939507a128188ec2e26e2245e23b1534d90673c9909c7d5220aa4aeab2c16249f7433b4d0f98f20c94b8b1f7434c7abadc8b8039ae9 SHA512 (libloading-0.7.4.crate) = 34439d9eca68bac8fcbe2bc94a70e07550e7e95d713ab74ed60ba6736ec807fd9c9135c178d436fbeb39afb074b2a9b05775d953340845c088f5f8712f5f56a1

Loading…
Cancel
Save