Update to version 0.5.0; Fixes RHBZ#1971105

epel9
Fabio Valentini 3 years ago
parent 5d9785952f
commit 667ecf79e1
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/opener-0.3.0.crate /opener-0.3.0.crate
/opener-0.3.2.crate /opener-0.3.2.crate
/opener-0.4.1.crate /opener-0.4.1.crate
/opener-0.5.0.crate

@ -1,13 +1,12 @@
--- opener-0.4.1/Cargo.toml 1970-01-01T00:00:00+00:00 --- opener-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ opener-0.4.1/Cargo.toml 2019-12-07T02:28:56.996240+00:00 +++ opener-0.5.0/Cargo.toml 2022-02-21T23:06:31.709936+00:00
@@ -22,9 +22,7 @@ @@ -25,9 +25,6 @@
repository = "https://github.com/Seeker14491/opener" version = "0.9"
[target."cfg(target_os = \"linux\")".dependencies.bstr]
[dependencies] version = "0.2"
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3" -version = "0.3"
-features = ["shellapi"] -features = ["shellapi"]
+
[badges.appveyor] [badges.appveyor]
branch = "master" branch = "master"
repository = "Seeker14491/opener" repository = "Seeker14491/opener"

@ -1,11 +1,11 @@
# Generated by rust2rpm 10 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate opener %global crate opener
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.4.1 Version: 0.5.0
Release: %autorelease Release: %autorelease
Summary: Open a file or link using the system default program Summary: Open a file or link using the system default program
@ -14,13 +14,10 @@ License: MIT or ASL 2.0
URL: https://crates.io/crates/opener URL: https://crates.io/crates/opener
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * No windows # * drop windows-specific dependencies
Patch0: opener-fix-metadata.diff Patch0: opener-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -35,12 +32,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY %license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (opener-0.4.1.crate) = 7200f4d21a0ba5e0dca5d58368c3d172a73db36d1ceb3cc978c46140e1594343c638d291685b86f0c503c970c9ce95ec2800d6840fe745005eecd32bf326d46f SHA512 (opener-0.5.0.crate) = 4a9be4d280cc5039d080bfaa318b47a80dfa930f3e60068ca10346aeac421abc8575d7eef3649061847e24ad3a6262fb58ab183f6f2704f429e9674f392c30a7

Loading…
Cancel
Save