Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 9f861b30d9
commit f29928c215
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -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 <ignatenkobrain@fedoraproject.org> - 0.7.24-5
- Regenerate
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.24-4
- Do not pull optional dependencies

Loading…
Cancel
Save