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