diff --git a/rust-matches.spec b/rust-matches.spec index bdf8278..63c76bd 100644 --- a/rust-matches.spec +++ b/rust-matches.spec @@ -1,25 +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 matches Name: rust-%{crate} Version: 0.1.8 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Macro to evaluate, as a boolean, whether an expression matches a pattern +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/matches -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 \ -A macro to evaluate, as a boolean, whether an expression matches a pattern. +%global _description %{expand: +Macro to evaluate, as a boolean, whether an expression matches a pattern.} %description %{_description} @@ -49,9 +52,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 @@ -64,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 19 23:22:50 CEST 2019 Igor Gnatenko - 0.1.8-5 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild