diff --git a/phf_shared-fix-metadata.diff b/phf_shared-fix-metadata.diff index 500931c..07dcaff 100644 --- a/phf_shared-fix-metadata.diff +++ b/phf_shared-fix-metadata.diff @@ -1,5 +1,5 @@ ---- phf_shared-0.7.24/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ phf_shared-0.7.24/Cargo.toml 2019-03-14T23:22:21.589832+01:00 +--- phf_shared-0.7.24/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ phf_shared-0.7.24/Cargo.toml 2019-06-22T07:36:19.124863+00:00 @@ -23,7 +23,7 @@ path = "src/lib.rs" test = false diff --git a/rust-phf_shared.spec b/rust-phf_shared.spec index 2a315b0..3a41ec4 100644 --- a/rust-phf_shared.spec +++ b/rust-phf_shared.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate phf_shared Name: rust-%{crate} Version: 0.7.24 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Support code shared by PHF libraries +# Upstream license specification: MIT # https://github.com/sfackler/rust-phf/pull/118 License: MIT URL: https://crates.io/crates/phf_shared @@ -19,12 +19,14 @@ Source: %{crates_source} Patch0: phf_shared-fix-metadata.diff ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(siphasher/default) >= 0.3.0 with crate(siphasher/default) < 0.4.0) -%global _description \ -Support code shared by PHF libraries. +%global _description %{expand: +Support code shared by PHF libraries.} %description %{_description} @@ -80,6 +82,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 @@ -92,6 +97,9 @@ which use "unicase" feature of "%{crate}" crate. %endif %changelog +* Sat Jun 22 09:36:19 CEST 2019 Igor Gnatenko - 0.7.24-6 +- Regenerate + * Thu Mar 14 2019 Igor Gnatenko - 0.7.24-5 - Update siphasher to 0.3