Update to version 2.0.1; Fixes RHBZ#1985695

epel9
Fabio Valentini 3 years ago
parent 1c8a8daa7d
commit 9669b5eda3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -9,3 +9,4 @@
/open-1.6.0.crate /open-1.6.0.crate
/open-1.7.0.crate /open-1.7.0.crate
/open-1.7.1.crate /open-1.7.1.crate
/open-2.0.1.crate

@ -1,7 +1,15 @@
--- open-1.7.1/Cargo.toml 1970-01-01T00:00:00+00:00 --- open-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ open-1.7.1/Cargo.toml 2021-07-18T09:29:03.542342+00:00 +++ open-2.0.1/Cargo.toml 2021-11-06T09:48:18.889074+00:00
@@ -28,6 +28,3 @@ @@ -21,13 +21,7 @@
doc = false keywords = ["open", "xdg-open", "start", "launch"]
license = "MIT"
repository = "https://github.com/Byron/open-rs"
+autobins = false
-[[bin]]
-name = "open"
-test = false
-doc = false
[target."cfg(all(unix, not(macos)))".dependencies.pathdiff] [target."cfg(all(unix, not(macos)))".dependencies.pathdiff]
version = "0.2.0" version = "0.2.0"
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]

@ -2,13 +2,10 @@
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
# Binary is useless
%global __cargo_is_bin() false
%global crate open %global crate open
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.7.1 Version: 2.0.1
Release: %autorelease Release: %autorelease
Summary: Open a path or URL using the program configured on the system Summary: Open a path or URL using the program configured on the system
@ -18,6 +15,7 @@ URL: https://crates.io/crates/open
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * drop windows-specific dependencies # * drop windows-specific dependencies
# * drop useless /usr/bin/open binary
Patch0: open-fix-metadata.diff Patch0: open-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}

@ -1 +1 @@
SHA512 (open-1.7.1.crate) = 97c064ade1c9e1329aef03cffc6dbf565a7a3c0acf41845236202b0003d4d709b769e22cef0190624c32b5b6e1506964028a4649e4bb79f1ced5ae9f954508b3 SHA512 (open-2.0.1.crate) = 3d7834046e6ae61f61bc557983a255e7f3f466e27df153c26cc9fa014fc83cef043b2d892b158fc25b188263169437767258c2136679f2dc273fd08ed3dfd2ea

Loading…
Cancel
Save