From 961d720bc8b9ff3db5346ee90c2b2901119fe19b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 19 2019 21:37:02 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/rust-serde_cbor.spec b/rust-serde_cbor.spec index bf10dd5..d0007e9 100644 --- a/rust-serde_cbor.spec +++ b/rust-serde_cbor.spec @@ -1,33 +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 serde_cbor Name: rust-%{crate} Version: 0.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: CBOR support for serde # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/serde_cbor -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 -BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(half/default) >= 1.1.2 with crate(half/default) < 2.0.0) -BuildRequires: (crate(serde/default) >= 1.0.14 with crate(serde/default) < 2.0.0) -%if %{with check} -BuildRequires: (crate(serde_bytes/default) >= 0.10.0 with crate(serde_bytes/default) < 0.11.0) -BuildRequires: (crate(serde_derive/default) >= 1.0.14 with crate(serde_derive/default) < 2.0.0) -%endif -%global _description \ -CBOR support for serde. +%global _description %{expand: +CBOR support for serde.} %description %{_description} @@ -58,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 @@ -73,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 19 23:36:36 CEST 2019 Igor Gnatenko - 0.9.0-4 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild