|
|
@ -1,30 +1,25 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# rustc-hash is not packaged
|
|
|
|
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate hashbrown
|
|
|
|
%global crate hashbrown
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.1.8
|
|
|
|
Version: 0.2.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Rust port of Google's SwissTable hash map
|
|
|
|
Summary: Rust port of Google's SwissTable hash map
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/hashbrown
|
|
|
|
URL: https://crates.io/crates/hashbrown
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * exclude CI files <https://github.com/Amanieu/hashbrown/pull/41>
|
|
|
|
# * Exclude CI files, https://github.com/Amanieu/hashbrown/pull/57
|
|
|
|
Patch0: hashbrown-fix-metadata.diff
|
|
|
|
Patch0: hashbrown-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(rayon/default) >= 1.0.0 with crate(rayon/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(scopeguard) >= 0.3.0 with crate(scopeguard) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 1.3.0)
|
|
|
|
BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 1.3.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.5.1 with crate(rand/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.5.1 with crate(rand/default) < 0.6.0)
|
|
|
@ -89,7 +84,7 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -104,6 +99,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Apr 04 08:09:30 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
|
|
|
|
|
|
|
|
- Update to 0.2.0
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|