From 69a4d19b27240fa4831c5ba4411ce2d909ab3f37 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 10 Dec 2022 19:50:48 +0100 Subject: [PATCH] Update to version 3.2.0; Fixes RHBZ#2144398 --- .gitignore | 1 + open-fix-metadata-auto.diff | 9 +++++---- open-fix-metadata.diff | 4 ++-- rust-open.spec | 6 ++---- sources | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 152acc8..6d5559b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /open-2.1.2.crate /open-3.0.2.crate /open-3.0.3.crate +/open-3.2.0.crate diff --git a/open-fix-metadata-auto.diff b/open-fix-metadata-auto.diff index 973a135..7a56ad0 100644 --- a/open-fix-metadata-auto.diff +++ b/open-fix-metadata-auto.diff @@ -1,12 +1,13 @@ ---- open-3.0.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ open-3.0.3/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -39,9 +39,3 @@ +--- open-3.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-3.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -39,10 +39,3 @@ [target."cfg(all(unix, not(macos)))".dependencies.pathdiff] version = "0.2.0" -[target."cfg(windows)".dependencies.windows-sys] --version = "0.36" +-version = "0.42" -features = [ - "Win32_UI_Shell", - "Win32_Foundation", +- "Win32_UI_WindowsAndMessaging", -] diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index 93fac54..a0638b8 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,5 +1,5 @@ ---- open-3.0.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ open-3.0.3/Cargo.toml 2022-10-05T12:26:06.307480+00:00 +--- open-3.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-3.2.0/Cargo.toml 2022-12-10T18:49:23.912220+00:00 @@ -30,11 +30,7 @@ ] license = "MIT" diff --git a/rust-open.spec b/rust-open.spec index 7b1ca8f..e6476c7 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate open Name: rust-open -Version: 3.0.3 +Version: 3.2.0 Release: %autorelease Summary: Open a path or URL using the program configured on the system @@ -18,8 +18,6 @@ Patch: open-fix-metadata-auto.diff # * drop useless /usr/bin/open binary Patch: open-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging >= 21 %global _description %{expand: diff --git a/sources b/sources index 1e5de37..c75e502 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-3.0.3.crate) = 9d1aadd0d5e935fcba6b754c6401e5f40703a73b3bfb24db35b638ce558fc893b17e63f8b797b95095cd1a8b74576fbae55d4705f9b45790d89b5bbf2d9cb9a2 +SHA512 (open-3.2.0.crate) = 4cc5d843a8af028b00f2133fdc6f24766b31cf748ee751d6abc8d910eab40b2836bb5228766e6e24bf64d532129ee2980ef83ec120e3c07f40eb6bbbb6930511