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