Update to version 0.6.1; Fixes RHBZ#2165250

epel9 imports/e9/rust-opener-0.6.1-1.el9
Fabio Valentini 1 year ago
parent e66298bc70
commit 74a1242315
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/opener-0.4.1.crate
/opener-0.5.0.crate
/opener-0.5.2.crate
/opener-0.6.1.crate

@ -1,9 +1,21 @@
--- opener-0.5.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ opener-0.5.2/Cargo.toml 2023-10-24T23:07:06.013342+00:00
@@ -32,10 +32,6 @@
--- opener-0.6.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ opener-0.6.1/Cargo.toml 2023-11-09T14:39:05.741448+00:00
@@ -40,8 +40,6 @@
reveal = [
"dep:url",
"dep:dbus",
- "winapi/shtypes",
- "winapi/objbase",
]
[target."cfg(target_os = \"linux\")".dependencies.bstr]
version = "1"
@@ -56,13 +54,6 @@
version = "2"
optional = true
-[target."cfg(windows)".dependencies.normpath]
-version = "1"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["shellapi"]
@ -11,7 +23,7 @@
[badges.appveyor]
branch = "master"
repository = "Seeker14491/opener"
@@ -47,3 +43,4 @@
@@ -74,3 +65,4 @@
[badges.travis-ci]
branch = "master"
repository = "Seeker14491/opener"

@ -0,0 +1,26 @@
--- opener-0.6.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ opener-0.6.1/Cargo.toml 2023-11-09T14:39:23.051517+00:00
@@ -36,23 +36,8 @@
[dev-dependencies.version-sync]
version = "0.9"
-[features]
-reveal = [
- "dep:url",
- "dep:dbus",
-]
-
[target."cfg(target_os = \"linux\")".dependencies.bstr]
version = "1"
-
-[target."cfg(target_os = \"linux\")".dependencies.dbus]
-version = "0.9"
-features = ["vendored"]
-optional = true
-
-[target."cfg(target_os = \"linux\")".dependencies.url]
-version = "2"
-optional = true
[badges.appveyor]
branch = "master"

@ -5,7 +5,7 @@
%global crate opener
Name: rust-opener
Version: 0.5.2
Version: 0.6.1
Release: %autorelease
Summary: Open a file or link using the system default program
@ -14,6 +14,9 @@ URL: https://crates.io/crates/opener
Source: %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch: opener-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
# * drop unused "reveal" feature which pulls in additional dependencies
Patch: opener-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24

@ -1 +1 @@
SHA512 (opener-0.5.2.crate) = db741461b59ab6e252eb2a96b0b3ab2238595199ee396d9508532f7ab97280f27e478192a27d42a36423d34dd71f6f1d1c457a1854224c9361e47c5775c7a18a
SHA512 (opener-0.6.1.crate) = bd56a5c23a3d1fc3d5828bbffc3f7df6f3d92f03cf38665587ebb5b16a716e04395ee30b239acfa8fc95f4daa67807e48d9cfcc79817f2926880832c4ea4ba2c

Loading…
Cancel
Save