From 98ccf23f5918fbf8c4743d85d657be7b85021b39 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 9 Jun 2019 10:19:52 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-memmap.spec | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/rust-memmap.spec b/rust-memmap.spec index 9efca8f..ce44366 100644 --- a/rust-memmap.spec +++ b/rust-memmap.spec @@ -1,33 +1,37 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 9 +%bcond_without check %global debug_package %{nil} %global crate memmap Name: rust-%{crate} Version: 0.7.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Cross-platform Rust API for memory-mapped file IO # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/memmap -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # Initial patched metadata # * No windows Patch0: memmap-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging +%if ! %{__cargo_skip_build} BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) %if %{with check} BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0) %endif +%endif -%global _description \ -Cross-platform Rust API for memory-mapped file IO. +%global _description %{expand: +Cross-platform Rust API for memory-mapped file IO.} %description %{_description} @@ -58,7 +62,7 @@ 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 %build @@ -73,6 +77,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 09 10:19:15 CEST 2019 Igor Gnatenko - 0.7.0-3 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild