From 8951ed7610acf1c3abbce13c0ae5493423d4b855 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 21 Jun 2019 22:31:06 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- ...x-metadata.diff => iovec-fix-metadata.diff | 4 +-- rust-iovec.spec | 27 ++++++++++++------- 2 files changed, 19 insertions(+), 12 deletions(-) rename iovec-0.1.2-fix-metadata.diff => iovec-fix-metadata.diff (62%) diff --git a/iovec-0.1.2-fix-metadata.diff b/iovec-fix-metadata.diff similarity index 62% rename from iovec-0.1.2-fix-metadata.diff rename to iovec-fix-metadata.diff index 3400050..b17966c 100644 --- a/iovec-0.1.2-fix-metadata.diff +++ b/iovec-fix-metadata.diff @@ -1,5 +1,5 @@ ---- iovec-0.1.2/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ iovec-0.1.2/Cargo.toml 2018-01-27T06:52:19.454851+01:00 +--- iovec-0.1.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ iovec-0.1.2/Cargo.toml 2019-06-21T20:30:31.120489+00:00 @@ -24,5 +24,3 @@ repository = "https://github.com/carllerche/iovec" [target."cfg(unix)".dependencies.libc] diff --git a/rust-iovec.spec b/rust-iovec.spec index b759e15..864d4bf 100644 --- a/rust-iovec.spec +++ b/rust-iovec.spec @@ -1,30 +1,31 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate iovec Name: rust-%{crate} Version: 0.1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Portable buffer type for scatter/gather I/O operations # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/iovec -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No windows -Patch0: iovec-0.1.2-fix-metadata.diff +Patch0: iovec-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 \ -Portable buffer type for scatter/gather I/O operations. +%global _description %{expand: +Portable buffer type for scatter/gather I/O operations.} %description %{_description} @@ -56,9 +57,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 @@ -71,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 22:30:31 CEST 2019 Igor Gnatenko - 0.1.2-6 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild