From 18f05f5ac6947f1cbfff2933a4eba51dfc59321c Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 19 Jun 2019 23:18:17 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-hex.spec | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/rust-hex.spec b/rust-hex.spec index 356c83e..3f57a01 100644 --- a/rust-hex.spec +++ b/rust-hex.spec @@ -1,25 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate hex Name: rust-%{crate} Version: 0.3.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Encoding and decoding data into/from hexadecimal representation +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/hex -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Encoding and decoding data into/from hexadecimal representation. +%global _description %{expand: +Encoding and decoding data into/from hexadecimal representation.} %description %{_description} @@ -49,10 +52,25 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+benchmarks-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+benchmarks-devel %{_description} + +This package contains library source intended for building other packages +which use "benchmarks" feature of "%{crate}" crate. + +%files -n %{name}+benchmarks-devel +%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 @@ -65,6 +83,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 19 23:17:49 CEST 2019 Igor Gnatenko - 0.3.2-5 +- Regenerate + * Sat Feb 02 2019 Fedora Release Engineering - 0.3.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild