From 204222953939fe1f6b32bdd21e49c702838524f8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 21 Jun 2019 21:37:30 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- hostname-fix-metadata.diff | 4 ++-- rust-hostname.spec | 22 +++++++++++++++------- 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/hostname-fix-metadata.diff b/hostname-fix-metadata.diff index 83d9b30..cc35f60 100644 --- a/hostname-fix-metadata.diff +++ b/hostname-fix-metadata.diff @@ -1,5 +1,5 @@ ---- hostname-0.1.5/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ hostname-0.1.5/Cargo.toml 2019-01-28T21:58:41.641435+01:00 +--- hostname-0.1.5/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ hostname-0.1.5/Cargo.toml 2019-06-21T19:37:03.848369+00:00 @@ -30,5 +30,3 @@ unstable = [] [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] diff --git a/rust-hostname.spec b/rust-hostname.spec index c002250..3cb00d8 100644 --- a/rust-hostname.spec +++ b/rust-hostname.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate hostname Name: rust-%{crate} Version: 0.1.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Get hostname +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/hostname Source: %{crates_source} @@ -18,12 +18,14 @@ Source: %{crates_source} Patch0: hostname-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) -%global _description \ -Get hostname. Compatible with windows and linux, redox. +%global _description %{expand: +Get hostname. Compatible with windows and linux, redox.} %description %{_description} @@ -69,6 +71,9 @@ which use "unstable" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -81,6 +86,9 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:37:03 CEST 2019 Igor Gnatenko - 0.1.5-3 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild