From 785a44f15d15d56660185512e483d5f8791b8ada Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 22 Jun 2019 09:54:35 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rand-fix-metadata.diff | 4 ++-- rust-rand0.5.spec | 38 +++++++++++++++++++++++++------------- 2 files changed, 27 insertions(+), 15 deletions(-) diff --git a/rand-fix-metadata.diff b/rand-fix-metadata.diff index 7ed5a9d..1e50927 100644 --- a/rand-fix-metadata.diff +++ b/rand-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rand-0.5.6/Cargo.toml 1969-12-31T16:00:00-08:00 -+++ rand-0.5.6/Cargo.toml 2019-01-28T13:43:27.101496-08:00 +--- rand-0.5.6/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ rand-0.5.6/Cargo.toml 2019-06-22T07:54:04.893889+00:00 @@ -22,6 +22,7 @@ categories = ["algorithms", "no-std"] license = "MIT/Apache-2.0" diff --git a/rust-rand0.5.spec b/rust-rand0.5.spec index 30f78aa..80d372b 100644 --- a/rust-rand0.5.spec +++ b/rust-rand0.5.spec @@ -1,13 +1,12 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate rand Name: rust-%{crate}0.5 Version: 0.5.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Random number generators and other randomness functionality # Upstream license specification: MIT/Apache-2.0 @@ -20,18 +19,14 @@ Source: %{crates_source} Patch0: rand-fix-metadata.diff 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(rand_core) >= 0.3.0 with crate(rand_core) < 0.4.0) -BuildRequires: (crate(rand_core/alloc) >= 0.3.0 with crate(rand_core/alloc) < 0.4.0) -BuildRequires: (crate(rand_core/std) >= 0.3.0 with crate(rand_core/std) < 0.4.0) -%if %{with check} -BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0) -%endif -%global _description \ -Random number generators and other randomness functionality. +%global _description %{expand: +Random number generators and other randomness functionality.} %description %{_description} @@ -109,6 +104,17 @@ which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -162,6 +168,9 @@ which use "std" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -174,6 +183,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:54:04 CEST 2019 Igor Gnatenko - 0.5.6-4 +- Regenerate + * Sat Mar 16 2019 Igor Gnatenko - 0.5.6-3 - Do not pull optional dependencies