From 116746c6f2e3fde2abab7b5872ebda32b858df84 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 19 Jun 2019 23:29:56 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-memoffset.spec | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/rust-memoffset.spec b/rust-memoffset.spec index 08e4d0b..f14c72d 100644 --- a/rust-memoffset.spec +++ b/rust-memoffset.spec @@ -1,27 +1,30 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate memoffset Name: rust-%{crate} Version: 0.2.1 -Release: 6%{?dist} -Summary: C-like offset_of functionality for Rust structs +Release: 7%{?dist} +Summary: Offset_of functionality for Rust structs +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/memoffset -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} # https://github.com/Gilnaa/memoffset/pull/3 Patch0001: 0001-Add-allow-const_err-on-test-offset_index_out_of_boun.patch ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -C-like offset_of functionality for Rust structs. +%global _description %{expand: +Offset_of functionality for Rust structs.} %description %{_description} @@ -52,9 +55,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 @@ -67,6 +73,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 19 23:29:12 CEST 2019 Igor Gnatenko - 0.2.1-7 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild