diff --git a/rust-remove_dir_all.spec b/rust-remove_dir_all.spec index 422936c..f3268f6 100644 --- a/rust-remove_dir_all.spec +++ b/rust-remove_dir_all.spec @@ -1,28 +1,31 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate remove_dir_all Name: rust-%{crate} Version: 0.5.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Safe, reliable implementation of remove_dir_all # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/remove_dir_all -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No windows Patch0: remove_dir_all-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -A safe, reliable implementation of remove_dir_all. +%global _description %{expand: +Safe, reliable implementation of remove_dir_all for Windows.} %description %{_description} @@ -52,7 +55,7 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build @@ -67,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 22:12:17 CEST 2019 Igor Gnatenko - 0.5.1-6 +- Regenerate + * Sat Mar 09 2019 Igor Gnatenko - 0.5.1-5 - Adapt to new packaging