From 0fd32897114dc29ebc2176ae84e389039a9c5055 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 12 May 2022 15:40:46 +0200 Subject: [PATCH] Update to version 2.1.2; Fixes RHBZ#2080091 --- .gitignore | 1 + open-fix-metadata.diff | 14 ++++++++------ rust-open.spec | 2 +- sources | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 0a83762..e999d90 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /open-2.0.2.crate /open-2.1.0.crate /open-2.1.1.crate +/open-2.1.2.crate diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index f10d619..36a97ec 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,17 +1,19 @@ ---- open-2.1.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ open-2.1.1/Cargo.toml 2022-03-29T20:52:33.514074+00:00 -@@ -20,13 +20,7 @@ - keywords = ["open", "xdg-open", "start", "launch"] +--- open-2.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-2.1.2/Cargo.toml 2022-05-12T13:39:45.706512+00:00 +@@ -30,15 +30,7 @@ + ] license = "MIT" repository = "https://github.com/Byron/open-rs" -+autobins = false - +- -[[bin]] -name = "open" -test = false -doc = false ++autobins = false + [target."cfg(all(unix, not(macos)))".dependencies.pathdiff] version = "0.2.0" +- -[target."cfg(windows)".dependencies.winapi] -version = "0.3" -features = ["shellapi"] diff --git a/rust-open.spec b/rust-open.spec index a5ae0a0..3ba6aad 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -5,7 +5,7 @@ %global crate open Name: rust-%{crate} -Version: 2.1.1 +Version: 2.1.2 Release: %autorelease Summary: Open a path or URL using the program configured on the system diff --git a/sources b/sources index daace11..08e6af1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-2.1.1.crate) = 8de337ec58f9037e1635e1efb8b383355da96355c189b90f9940ed251ba9f8f22d50b4077cfecae88f1d00db8ec172efe27b5605273750d728c86314c807095a +SHA512 (open-2.1.2.crate) = 341a663b0615118245db1799a907623d24f9f70d8bbc85fca2b961b53ba1c4ec0a8b45b6988eeb64f2617a986818032757d63879acc77f3f35d6e1d96c25b875