# Generated by rust2rpm %bcond_without check %global debug_package %{nil} %global crate remove_dir_all Name: rust-%{crate} Version: 0.5.1 Release: 2%{?dist} Summary: Safe, reliable implementation of remove_dir_all 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 # Initial patched metadata # * No windows Patch0: remove_dir_all-0.5.1-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %description %{summary}. %package devel Summary: %{summary} BuildArch: noarch %description devel A safe, reliable implementation of remove_dir_all for Windows. This package contains library source intended for building other packages which use %{crate} from crates.io. %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %files devel %license LICENCE-MIT LICENCE-APACHE %{cargo_registry}/%{crate}-%{version}/ %changelog * Sat Jul 14 2018 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Apr 20 2018 Igor Gnatenko - 0.5.1-1 - Update to 0.5.1 * Mon Mar 12 2018 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 31 2018 Igor Gnatenko - 0.3.0-1 - Initial package