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

@ -1,12 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 10
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate string_cache %global crate string_cache
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.7.3 Version: 0.7.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: String interning library for Rust, developed as part of the Servo project Summary: String interning library for Rust, developed as part of the Servo project
# Upstream license specification: MIT / Apache-2.0 # Upstream license specification: MIT / Apache-2.0
@ -15,21 +15,14 @@ URL: https://crates.io/crates/string_cache
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default) < 2.0.0)
BuildRequires: (crate(new_debug_unreachable/default) >= 1.0.0 with crate(new_debug_unreachable/default) < 2.0.0)
BuildRequires: (crate(phf_shared/default) >= 0.7.4 with crate(phf_shared/default) < 0.8.0)
BuildRequires: (crate(precomputed-hash/default) >= 0.1.0 with crate(precomputed-hash/default) < 0.2.0)
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires: (crate(string_cache_codegen/default) >= 0.4.0 with crate(string_cache_codegen/default) < 0.5.0)
BuildRequires: (crate(string_cache_shared/default) >= 0.3.0 with crate(string_cache_shared/default) < 0.4.0)
%if %{with check}
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
%endif
%global _description \ %global _description %{expand:
A string interning library for Rust, developed as part of the Servo project. String interning library for Rust, developed as part of the Servo project.}
%description %{_description} %description %{_description}
@ -87,6 +80,9 @@ which use "unstable" 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
@ -99,5 +95,8 @@ which use "unstable" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 23:16:04 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.3-2
- Regenerate
* Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.3-1 * Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.3-1
- Initial package - Initial package

Loading…
Cancel
Save