Update to version 2.0.3; Fixes RHBZ#2035130

epel9
Fabio Valentini 3 years ago
parent 91368490a4
commit 4984e0be94
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/trash-2.0.2.crate /trash-2.0.2.crate
/trash-2.0.3.crate

@ -1,12 +1,12 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 20
# * Not really good idea to run tests as it messes with trash folder ☺ # * tests require an existing trash folder
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate trash %global crate trash
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.0.2 Version: 2.0.3
Release: %autorelease Release: %autorelease
Summary: Library for moving files and folders to the Recycle Bin Summary: Library for moving files and folders to the Recycle Bin
@ -15,12 +15,10 @@ License: MIT
URL: https://crates.io/crates/trash URL: https://crates.io/crates/trash
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Initial patched metadata
# * drop windows- and mac OS-specific dependencies
Patch0: trash-fix-metadata.diff Patch0: trash-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -36,7 +34,7 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE.txt %license LICENSE.txt
@ -50,7 +48,7 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the default" feature of the "%{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_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -62,7 +60,7 @@ BuildArch: noarch
%description -n %{name}+coinit_apartmentthreaded-devel %{_description} %description -n %{name}+coinit_apartmentthreaded-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the coinit_apartmentthreaded" feature of the "%{crate}" crate. use the "coinit_apartmentthreaded" feature of the "%{crate}" crate.
%files -n %{name}+coinit_apartmentthreaded-devel %files -n %{name}+coinit_apartmentthreaded-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -74,7 +72,7 @@ BuildArch: noarch
%description -n %{name}+coinit_disable_ole1dde-devel %{_description} %description -n %{name}+coinit_disable_ole1dde-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the coinit_disable_ole1dde" feature of the "%{crate}" crate. use the "coinit_disable_ole1dde" feature of the "%{crate}" crate.
%files -n %{name}+coinit_disable_ole1dde-devel %files -n %{name}+coinit_disable_ole1dde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -86,7 +84,7 @@ BuildArch: noarch
%description -n %{name}+coinit_multithreaded-devel %{_description} %description -n %{name}+coinit_multithreaded-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the coinit_multithreaded" feature of the "%{crate}" crate. use the "coinit_multithreaded" feature of the "%{crate}" crate.
%files -n %{name}+coinit_multithreaded-devel %files -n %{name}+coinit_multithreaded-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -98,7 +96,7 @@ BuildArch: noarch
%description -n %{name}+coinit_speed_over_memory-devel %{_description} %description -n %{name}+coinit_speed_over_memory-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the coinit_speed_over_memory" feature of the "%{crate}" crate. use the "coinit_speed_over_memory" feature of the "%{crate}" crate.
%files -n %{name}+coinit_speed_over_memory-devel %files -n %{name}+coinit_speed_over_memory-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

@ -1 +1 @@
SHA512 (trash-2.0.2.crate) = 88d512a7caa8b9163908bc2dc9240134b642d1b7a94ad15715ce391f250c8b14d2df4010c7c3213af219b433185e20bfdfef2545ae030053901faa6a1926f1bc SHA512 (trash-2.0.3.crate) = 2ab2367f2b94424c826060721b7b541e72b523edf1261bc37b1cc6d1367d55ac61c3f0c71a73d74fea48c759bead68d6463088a2211a07139d2c11c49c598eb6

@ -1,6 +1,6 @@
--- trash-2.0.2/Cargo.toml 1970-01-01T00:00:00+00:00 --- trash-2.0.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ trash-2.0.2/Cargo.toml 2021-11-28T13:11:04.103266+00:00 +++ trash-2.0.3/Cargo.toml 2022-01-07T21:47:23.324112+00:00
@@ -33,8 +33,6 @@ @@ -32,8 +32,6 @@
[dev-dependencies.rand] [dev-dependencies.rand]
version = "0.8.3" version = "0.8.3"
@ -9,9 +9,9 @@
[features] [features]
coinit_apartmentthreaded = [] coinit_apartmentthreaded = []
@@ -53,10 +51,3 @@ @@ -52,10 +50,3 @@
[target."cfg(target_os = \"linux\")".dependencies.url] [target."cfg(all(unix, not(target_os = \"macos\"), not(target_os = \"ios\"), not(target_os = \"android\")))".dependencies.url]
version = "2.1.0" version = "2.1.0"
-[target."cfg(target_os = \"macos\")".dependencies.objc] -[target."cfg(target_os = \"macos\")".dependencies.objc]
-version = "0.2.7" -version = "0.2.7"

Loading…
Cancel
Save