diff --git a/rust-mime.spec b/rust-mime.spec index 4ff3334..ba3b92c 100644 --- a/rust-mime.spec +++ b/rust-mime.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate mime Name: rust-%{crate} Version: 0.3.13 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Strongly Typed Mimes # Upstream license specification: MIT/Apache-2.0 @@ -15,12 +15,14 @@ URL: https://crates.io/crates/mime Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(unicase/default) >= 2.0.0 with crate(unicase/default) < 3.0.0) -%global _description \ -Strongly Typed Mimes. +%global _description %{expand: +Strongly Typed Mimes.} %description %{_description} @@ -54,6 +56,9 @@ which use "default" feature of "%{crate}" crate. %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 +* Fri Jun 21 21:28:10 CEST 2019 Igor Gnatenko - 0.3.13-4 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.3.13-3 - Adapt to new packaging