diff --git a/rust-version_check.spec b/rust-version_check.spec index eaedcf6..86e8aa5 100644 --- a/rust-version_check.spec +++ b/rust-version_check.spec @@ -1,26 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate version_check Name: rust-%{crate} Version: 0.1.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tiny crate to check the version of the installed/running rustc # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/version_check -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 \ -Tiny crate to check the version of the installed/running rustc. +%global _description %{expand: +Tiny crate to check the version of the installed/running rustc.} %description %{_description} @@ -51,7 +53,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 @@ -66,6 +68,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 22:10:42 CEST 2019 Igor Gnatenko - 0.1.5-5 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild