diff --git a/rust-quote0.3.spec b/rust-quote0.3.spec index 1c2a440..c21a8ee 100644 --- a/rust-quote0.3.spec +++ b/rust-quote0.3.spec @@ -1,25 +1,28 @@ -# Generated by rust2rpm -%bcond_without check +# Generated by rust2rpm 13 +%bcond_with check %global debug_package %{nil} %global crate quote Name: rust-%{crate}0.3 Version: 0.3.15 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Quasi-quoting macro quote!(...) # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/quote -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 \ -Quasi-quoting macro quote!(...). +%global _description %{expand: +Quasi-quoting macro quote!(...).} %description %{_description} @@ -35,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,12 +50,15 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 @@ -65,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Tue Feb 18 03:48:27 CET 2020 Igor Raits - 0.3.15-10 +- Disable tests + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.15-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild