Update to version 3.0.6; Fixes RHBZ#2148703

epel9
Fabio Valentini 2 years ago
parent 6459af2d6e
commit b9d0d75558
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/trash-2.1.1.crate /trash-2.1.1.crate
/trash-2.1.3.crate /trash-2.1.3.crate
/trash-2.1.5.crate /trash-2.1.5.crate
/trash-3.0.6.crate

@ -1,3 +0,0 @@
# rust-trash
The rust-trash package

@ -1,29 +1,25 @@
# Generated by rust2rpm 21 # Generated by rust2rpm 24
# * tests require an existing 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-trash
Version: 2.1.5 Version: 3.0.6
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
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/trash URL: https://crates.io/crates/trash
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop non-linux dependencies Patch: trash-fix-metadata-auto.diff
Patch0: trash-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Library for moving files and folders to the Recycle Bin.} A library for moving files and folders to the Recycle Bin.}
%description %{_description} %description %{_description}

@ -1 +1 @@
SHA512 (trash-2.1.5.crate) = 895cdd8a1d070d7716ba9647dbfda35fa9641744f905d10c11b41e7553cc88d66961019a4a5167565a71a696cec05ed55deeea8439cddbece97582c0b73a475d SHA512 (trash-3.0.6.crate) = 2e3558ddc267939f039acb91ed322e9bc2fcc34424c23a034a9044a49e8e823a921538cd80adca36d12f9f5e1a73f4fd5aa4b1389a590e95bf1bd860b5250859

@ -1,10 +1,9 @@
--- trash-2.1.5/Cargo.toml 1970-01-01T00:00:01+00:00 --- trash-3.0.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ trash-2.1.5/Cargo.toml 2022-07-13T13:10:51.505021+00:00 +++ trash-3.0.6/Cargo.toml 2023-07-21T18:45:29.212025+00:00
@@ -76,21 +76,3 @@ @@ -85,19 +85,3 @@
[target."cfg(all(unix, not(target_os = \"macos\"), not(target_os = \"ios\"), not(target_os = \"android\")))".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(any(target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.once_cell] -[target."cfg(any(target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.once_cell]
-version = "1.7.2" -version = "1.7.2"
- -
@ -15,9 +14,8 @@
-version = "1.0.0" -version = "1.0.0"
- -
-[target."cfg(windows)".dependencies.windows] -[target."cfg(windows)".dependencies.windows]
-version = "0.37.0" -version = "0.44.0"
-features = [ -features = [
- "alloc",
- "Win32_Foundation", - "Win32_Foundation",
- "Win32_System_Com_StructuredStorage", - "Win32_System_Com_StructuredStorage",
- "Win32_UI_Shell_PropertiesSystem", - "Win32_UI_Shell_PropertiesSystem",
Loading…
Cancel
Save