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

@ -1,12 +1,12 @@
# Generated by rust2rpm
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate string_cache_codegen
Name: rust-%{crate}
Version: 0.4.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Codegen library for string-cache, developed as part of the Servo project
# Upstream license specification: MIT / Apache-2.0
@ -16,16 +16,14 @@ URL: https://crates.io/crates/string_cache_codegen
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(phf_generator/default) >= 0.7.15 with crate(phf_generator/default) < 0.8.0)
BuildRequires: (crate(phf_shared/default) >= 0.7.4 with crate(phf_shared/default) < 0.8.0)
BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0)
BuildRequires: (crate(quote/default) >= 0.6.0 with crate(quote/default) < 0.7.0)
BuildRequires: (crate(string_cache_shared/default) >= 0.3.0 with crate(string_cache_shared/default) < 0.4.0)
%global _description \
A codegen library for string-cache, developed as part of the Servo project.
%global _description %{expand:
Codegen library for string-cache, developed as part of the Servo project.}
%description %{_description}
@ -57,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
@ -69,5 +70,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Jun 23 10:29:09 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-2
- Regenerate
* Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.2-1
- Initial package

Loading…
Cancel
Save