Update to version 3.1.2; Fixes RHBZ#2242698

epel9
Fabio Valentini 1 year ago
parent b9d0d75558
commit 7b5d5c41e7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

2
.gitignore vendored

@ -5,3 +5,5 @@
/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 /trash-3.0.6.crate
/trash-3.1.0.crate
/trash-3.1.2.crate

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
# * 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}
@ -6,17 +6,17 @@
%global crate trash %global crate trash
Name: rust-trash Name: rust-trash
Version: 3.0.6 Version: 3.1.2
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
License: MIT License: MIT
URL: https://crates.io/crates/trash URL: https://crates.io/crates/trash
Source: %{crates_source} Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies # Automatically generated patch to strip dependencies and normalize metadata
Patch: trash-fix-metadata-auto.diff Patch: trash-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A library for moving files and folders to the Recycle Bin.} A library for moving files and folders to the Recycle Bin.}
@ -111,7 +111,7 @@ use the "coinit_speed_over_memory" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,3 @@
[tests]
run = ["none"]
comments = ["tests require an existing trash folder"]

@ -1 +1 @@
SHA512 (trash-3.0.6.crate) = 2e3558ddc267939f039acb91ed322e9bc2fcc34424c23a034a9044a49e8e823a921538cd80adca36d12f9f5e1a73f4fd5aa4b1389a590e95bf1bd860b5250859 SHA512 (trash-3.1.2.crate) = fcc5100ebc81f0f390272c1e6a224297d7274a233caf282bfaae4a7e9af7a3107f41497c4ccd3060e40ab3458915281f392cfc40f650e37de233fd2787d0950c

@ -1,17 +1,17 @@
--- trash-3.0.6/Cargo.toml 1970-01-01T00:00:01+00:00 --- trash-3.1.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ trash-3.0.6/Cargo.toml 2023-07-21T18:45:29.212025+00:00 +++ trash-3.1.2/Cargo.toml 2023-10-25T09:28:08.505965+00:00
@@ -85,19 +85,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.4.1"
-[target."cfg(any(target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies.once_cell] -[target."cfg(any(target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies.once_cell]
-version = "1.7.2" -version = "1.7.2"
- -
-[target."cfg(target_os = \"macos\")".dependencies.objc] -[target."cfg(target_os = \"macos\")".dependencies.objc]
-version = "0.2.7" -version = "0.2.7"
- -
-[target."cfg(windows)".dependencies.scopeguard] -[target."cfg(windows)".dependencies.scopeguard]
-version = "1.0.0" -version = "1.2.0"
- -
-[target."cfg(windows)".dependencies.windows] -[target."cfg(windows)".dependencies.windows]
-version = "0.44.0" -version = "0.44.0"

Loading…
Cancel
Save