initial import

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

1
.gitignore vendored

@ -0,0 +1 @@
/phf_generator-0.7.21.crate

@ -0,0 +1,10 @@
--- phf_generator-0.7.21/Cargo.toml 2017-01-19T09:16:46+01:00
+++ phf_generator-0.7.21/Cargo.toml 2018-01-24T14:42:00.193880+01:00
@@ -8,5 +8,5 @@
documentation = "https://docs.rs/phf_generator/0.7.21/phf_generator"
[dependencies]
-rand = "0.3"
-phf_shared = { version = "=0.7.21", path = "../phf_shared" }
+rand = "0.4"
+phf_shared = "=0.7.21"

@ -0,0 +1,61 @@
# Generated by rust2rpm
%bcond_without check
%global debug_package %{nil}
%global crate phf_generator
Name: rust-%{crate}
Version: 0.7.21
Release: 1%{?dist}
Summary: PHF generation logic
# https://github.com/sfackler/rust-phf/pull/118
License: MIT
URL: https://crates.io/crates/phf_generator
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4, https://github.com/sfackler/rust-phf/pull/119
# * No paths
Patch0: phf_generator-0.7.21-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
# [dependencies]
BuildRequires: crate(phf_shared) = 0.7.21
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
PHF generation logic.
This package contains library source intended for building other packages
which use %{crate} from crates.io.
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%files devel
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.21-1
- Initial package

@ -0,0 +1 @@
SHA512 (phf_generator-0.7.21.crate) = 853ce3bab9119225076c1347488f0aefb7cba398d5c0be572c8bc1ccad8875ec6f86a0eaa998773b6ad3788417fb2c6adf78a3b778f36dfa5236fb31ed304c3f
Loading…
Cancel
Save