|
|
@ -1,15 +1,15 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate phf_shared
|
|
|
|
%global crate phf_shared
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.7.24
|
|
|
|
Version: 0.7.24
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Support code shared by PHF libraries
|
|
|
|
Summary: Support code shared by PHF libraries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# https://github.com/sfackler/rust-phf/pull/118
|
|
|
|
# https://github.com/sfackler/rust-phf/pull/118
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/phf_shared
|
|
|
|
URL: https://crates.io/crates/phf_shared
|
|
|
@ -19,12 +19,14 @@ Source: %{crates_source}
|
|
|
|
Patch0: phf_shared-fix-metadata.diff
|
|
|
|
Patch0: phf_shared-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(siphasher/default) >= 0.3.0 with crate(siphasher/default) < 0.4.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Support code shared by PHF libraries.
|
|
|
|
Support code shared by PHF libraries.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -80,6 +82,9 @@ which use "unicase" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -92,6 +97,9 @@ which use "unicase" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sat Jun 22 09:36:19 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-6
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-5
|
|
|
|
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-5
|
|
|
|
- Update siphasher to 0.3
|
|
|
|
- Update siphasher to 0.3
|
|
|
|
|
|
|
|
|
|
|
|