diff --git a/.gitignore b/.gitignore index ce3a103..c3c0184 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /libloading-0.7.4.crate /libloading-0.8.1.crate /libloading-0.8.2.crate +/libloading-0.8.3.crate diff --git a/libloading-fix-metadata-auto.diff b/libloading-fix-metadata-auto.diff index 2dd2fbf..75ea9ea 100644 --- a/libloading-fix-metadata-auto.diff +++ b/libloading-fix-metadata-auto.diff @@ -1,8 +1,12 @@ ---- libloading-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libloading-0.8.2/Cargo.toml 2024-03-05T13:42:48.660445+00:00 -@@ -47,5 +47,3 @@ +--- libloading-0.8.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libloading-0.8.3/Cargo.toml 2024-04-25T13:33:20.153112+00:00 +@@ -43,9 +43,3 @@ [target."cfg(unix)".dependencies.cfg-if] version = "1" -[target."cfg(windows)".dependencies.windows-targets] -version = ">=0.48, <0.53" +- +-[target."cfg(windows)".dev-dependencies.windows-sys] +-version = "0.52" +-features = ["Win32_Foundation"] diff --git a/libloading-fix-metadata.diff b/libloading-fix-metadata.diff deleted file mode 100644 index 19b5be7..0000000 --- a/libloading-fix-metadata.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- libloading-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libloading-0.8.2/Cargo.toml 2024-03-05T13:42:55.751476+00:00 -@@ -40,10 +40,6 @@ - [dev-dependencies.static_assertions] - version = "1.1" - --[dev-dependencies.windows-sys] --version = "0.52" --features = ["Win32_Foundation"] -- - [target."cfg(unix)".dependencies.cfg-if] - version = "1" - diff --git a/rust-libloading.spec b/rust-libloading.spec index 008b211..63eacdb 100644 --- a/rust-libloading.spec +++ b/rust-libloading.spec @@ -5,7 +5,7 @@ %global crate libloading Name: rust-libloading -Version: 0.8.2 +Version: 0.8.3 Release: %autorelease Summary: Bindings for native dynamic library loading primitives @@ -14,10 +14,6 @@ URL: https://crates.io/crates/libloading Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: libloading-fix-metadata-auto.diff -# Manually created patch for downstream crate metadata changes -# * drop Windows-specific windows-sys dev-dependency: -# https://github.com/nagisa/rust_libloading/pull/140 -Patch: libloading-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 diff --git a/sources b/sources index 4e78a9c..75c8995 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libloading-0.8.2.crate) = 0acce8e1271dd14fc8106046a744d055f67b8743ed821ecfbc3b029e6388d07520769890971c74c63338b01240f13f13341c001ced59c601d803370a37e71af8 +SHA512 (libloading-0.8.3.crate) = af8fa5fe2428fa98177d6adfc01bcd6e701b0d77ac18c95b8b8d5abb3a6376f16241ccc71b9fe100782c73c843ca53c9bad465545d8bb7def52320dad0eecef9