From 1b0cfcb914f33ff4b9676bf5b1be3f893bb6432b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jun 22 2019 10:51:10 +0000 Subject: Regenerate Signed-off-by: Igor Gnatenko --- diff --git a/pbr-fix-metadata.diff b/pbr-fix-metadata.diff index 54f27a2..1fe84fd 100644 --- a/pbr-fix-metadata.diff +++ b/pbr-fix-metadata.diff @@ -1,5 +1,5 @@ ---- pbr-1.0.1/Cargo.toml 2018-05-05T19:08:12+02:00 -+++ pbr-1.0.1/Cargo.toml 2019-03-14T00:21:50.014127+01:00 +--- pbr-1.0.1/Cargo.toml 2018-05-05T17:08:12+00:00 ++++ pbr-1.0.1/Cargo.toml 2019-06-22T10:50:42.039501+00:00 @@ -12,12 +12,5 @@ libc = "0.2" time = "0.1.35" diff --git a/rust-pbr.spec b/rust-pbr.spec index dd64a6a..de97435 100644 --- a/rust-pbr.spec +++ b/rust-pbr.spec @@ -1,14 +1,15 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate pbr Name: rust-%{crate} Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Console progress bar for Rust +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/pbr Source: %{crates_source} @@ -21,16 +22,14 @@ Patch0001: 0001-deps-update-rand-to-0.5.patch Patch0002: 0001-Fix-doctests.patch ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) -BuildRequires: (crate(time/default) >= 0.1.35 with crate(time/default) < 0.2.0) -%if %{with check} -BuildRequires: (crate(rand/default) >= 0.5.0 with crate(rand/default) < 0.6.0) -%endif -%global _description \ -Console progress bar for Rust. +%global _description %{expand: +Console progress bar for Rust.} %description %{_description} @@ -64,6 +63,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 @@ -76,5 +78,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 12:50:42 CEST 2019 Igor Gnatenko - 1.0.1-2 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 1.0.1-1 - Initial package