diff --git a/.gitignore b/.gitignore index e999d90..8cb974d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /open-2.1.0.crate /open-2.1.1.crate /open-2.1.2.crate +/open-3.0.2.crate diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index 36a97ec..e1809e7 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,6 +1,6 @@ ---- 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 @@ +--- open-3.0.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-3.0.2/Cargo.toml 2022-07-22T11:38:11.909083+00:00 +@@ -30,18 +30,7 @@ ] license = "MIT" repository = "https://github.com/Byron/open-rs" @@ -14,6 +14,9 @@ [target."cfg(all(unix, not(macos)))".dependencies.pathdiff] version = "0.2.0" - --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["shellapi"] +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.36" +-features = [ +- "Win32_UI_Shell", +- "Win32_Foundation", +-] diff --git a/rust-open.spec b/rust-open.spec index 3ba6aad..920de17 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -5,7 +5,7 @@ %global crate open Name: rust-%{crate} -Version: 2.1.2 +Version: 3.0.2 Release: %autorelease Summary: Open a path or URL using the program configured on the system diff --git a/sources b/sources index 08e6af1..9998b1e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-2.1.2.crate) = 341a663b0615118245db1799a907623d24f9f70d8bbc85fca2b961b53ba1c4ec0a8b45b6988eeb64f2617a986818032757d63879acc77f3f35d6e1d96c25b875 +SHA512 (open-3.0.2.crate) = 4b5b94a34e80e9f329a8064347dd6b6580dd49a7d9555092ae8697af00ac71fedc49cf5604d973cf2b50c8ab009018001a7dc382e89c4726ffc08e3a56251336