From f29928c2156f089a73d592c9befbbdc0a95c6221 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 21 Jun 2019 21:12:51 +0200 Subject: [PATCH] Regenerate Signed-off-by: Igor Gnatenko --- rust-phf.spec | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/rust-phf.spec b/rust-phf.spec index 9c7a7f7..46a6a79 100644 --- a/rust-phf.spec +++ b/rust-phf.spec @@ -1,5 +1,5 @@ -# Generated by rust2rpm -# The tests use the nightly macros feature +# Generated by rust2rpm 10 +# * The tests use the nightly macros feature %bcond_with check %global debug_package %{nil} @@ -7,21 +7,24 @@ Name: rust-%{crate} Version: 0.7.24 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Runtime support for perfect hash function data structures +# Upstream license specification: MIT # https://github.com/sfackler/rust-phf/pull/118 License: MIT URL: https://crates.io/crates/phf Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(phf_shared/default) >= 0.7.24 with crate(phf_shared/default) < 0.8.0) -%global _description \ -Runtime support for perfect hash function data structures. +%global _description %{expand: +Runtime support for perfect hash function data structures.} %description %{_description} @@ -61,6 +64,30 @@ which use "core" feature of "%{crate}" crate. %files -n %{name}+core-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+macros-devel %{_description} + +This package contains library source intended for building other packages +which use "macros" feature of "%{crate}" crate. + +%files -n %{name}+macros-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+phf_macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+phf_macros-devel %{_description} + +This package contains library source intended for building other packages +which use "phf_macros" feature of "%{crate}" crate. + +%files -n %{name}+phf_macros-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+unicase-devel Summary: %{summary} BuildArch: noarch @@ -77,6 +104,9 @@ which use "unicase" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -89,6 +119,9 @@ which use "unicase" feature of "%{crate}" crate. %endif %changelog +* Fri Jun 21 21:12:07 CEST 2019 Igor Gnatenko - 0.7.24-5 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.7.24-4 - Do not pull optional dependencies