|
|
|
@ -1,27 +1,29 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate phf_codegen
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.7.24
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Codegen library for PHF types
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
# https://github.com/sfackler/rust-phf/pull/118
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/phf_codegen
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(phf_generator/default) >= 0.7.24 with crate(phf_generator/default) < 0.8.0)
|
|
|
|
|
BuildRequires: (crate(phf_shared/default) >= 0.7.24 with crate(phf_shared/default) < 0.8.0)
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
Codegen library for PHF types.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Codegen library for PHF types.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -53,6 +55,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -65,6 +70,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 21 19:54:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-4
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-3
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|