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

@ -1,5 +1,5 @@
--- rand-0.5.6/Cargo.toml 1969-12-31T16:00:00-08:00 --- rand-0.5.6/Cargo.toml 1970-01-01T00:00:00+00:00
+++ rand-0.5.6/Cargo.toml 2019-01-28T13:43:27.101496-08:00 +++ rand-0.5.6/Cargo.toml 2019-06-22T07:54:04.893889+00:00
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
categories = ["algorithms", "no-std"] categories = ["algorithms", "no-std"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"

@ -1,13 +1,12 @@
# Generated by rust2rpm # Generated by rust2rpm 10
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rand %global crate rand
Name: rust-%{crate}0.5 Name: rust-%{crate}0.5
Version: 0.5.6 Version: 0.5.6
Release: 3%{?dist} Release: 4%{?dist}
Summary: Random number generators and other randomness functionality Summary: Random number generators and other randomness functionality
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -20,18 +19,14 @@ Source: %{crates_source}
Patch0: rand-fix-metadata.diff Patch0: rand-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
BuildRequires: (crate(rand_core) >= 0.3.0 with crate(rand_core) < 0.4.0)
BuildRequires: (crate(rand_core/alloc) >= 0.3.0 with crate(rand_core/alloc) < 0.4.0)
BuildRequires: (crate(rand_core/std) >= 0.3.0 with crate(rand_core/std) < 0.4.0)
%if %{with check}
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
%endif
%global _description \ %global _description %{expand:
Random number generators and other randomness functionality. Random number generators and other randomness functionality.}
%description %{_description} %description %{_description}
@ -109,6 +104,17 @@ which use "log" feature of "%{crate}" crate.
%files -n %{name}+log-devel %files -n %{name}+log-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+nightly-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+nightly-devel %{_description}
This package contains library source intended for building other packages
which use "nightly" feature of "%{crate}" crate.
%files -n %{name}+nightly-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -162,6 +168,9 @@ which use "std" 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
@ -174,6 +183,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sat Jun 22 09:54:04 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-4
- Regenerate
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-3 * Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-3
- Do not pull optional dependencies - Do not pull optional dependencies

Loading…
Cancel
Save