|
|
@ -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
|
|
|
|