From 809c16405df4e15699aa6094d21ae739d0f5d794 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 19 Jun 2019 23:21:15 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-linked-hash-map.spec | 46 ++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 8 deletions(-) diff --git a/rust-linked-hash-map.spec b/rust-linked-hash-map.spec index ed22e1e..c328f87 100644 --- a/rust-linked-hash-map.spec +++ b/rust-linked-hash-map.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate linked-hash-map Name: rust-%{crate} Version: 0.5.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HashMap wrapper that holds key-value pairs in insertion order # Upstream license specification: MIT/Apache-2.0 @@ -18,14 +18,14 @@ Source: %{crates_source} Patch0: linked-hash-map-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%if %{with check} -BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0) -%endif -%global _description \ -A HashMap wrapper that holds key-value pairs in insertion order. +%global _description %{expand: +HashMap wrapper that holds key-value pairs in insertion order.} %description %{_description} @@ -55,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+clippy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+clippy-devel %{_description} + +This package contains library source intended for building other packages +which use "clippy" feature of "%{crate}" crate. + +%files -n %{name}+clippy-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+heapsize-devel Summary: %{summary} BuildArch: noarch @@ -79,6 +91,18 @@ which use "heapsize_impl" feature of "%{crate}" crate. %files -n %{name}+heapsize_impl-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch @@ -107,6 +131,9 @@ which use "serde_impl" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -119,6 +146,9 @@ which use "serde_impl" feature of "%{crate}" crate. %endif %changelog +* Wed Jun 19 23:20:41 CEST 2019 Igor Gnatenko - 0.5.2-2 +- Regenerate + * Thu Mar 21 07:55:22 CET 2019 Igor Gnatenko - 0.5.2-1 - Update to 0.5.2