diff --git a/rust-shell-words.spec b/rust-shell-words.spec index b8095b8..6196aae 100644 --- a/rust-shell-words.spec +++ b/rust-shell-words.spec @@ -1,26 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate shell-words Name: rust-%{crate} Version: 0.1.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Process command line according to parsing rules of UNIX shell # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/shell-words -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Process command line according to parsing rules of UNIX shell. +%global _description %{expand: +Process command line according to parsing rules of UNIX shell.} %description %{_description} @@ -51,9 +53,12 @@ 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 +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -66,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jul 14 18:58:39 CEST 2019 Igor Gnatenko - 0.1.0-5 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild