|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 19
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate rand
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.8.4
|
|
|
|
|
Version: 0.8.5
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Random number generators and other randomness functionality
|
|
|
|
|
|
|
|
|
@ -13,14 +13,8 @@ Summary: Random number generators and other randomness functionality
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/rand
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * drop emscripten-specific dependencies and features
|
|
|
|
|
Patch0: rand-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -36,7 +30,7 @@ BuildArch: noarch
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "%{crate}" crate.
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT
|
|
|
|
@ -50,7 +44,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the default" feature of the "%{crate}" crate.
|
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -62,7 +56,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the alloc" feature of the "%{crate}" crate.
|
|
|
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -74,7 +68,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+getrandom-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the getrandom" feature of the "%{crate}" crate.
|
|
|
|
|
use the "getrandom" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+getrandom-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -86,7 +80,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+libc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the libc" feature of the "%{crate}" crate.
|
|
|
|
|
use the "libc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -98,7 +92,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+log-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the log" feature of the "%{crate}" crate.
|
|
|
|
|
use the "log" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+log-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -110,7 +104,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+min_const_gen-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the min_const_gen" feature of the "%{crate}" crate.
|
|
|
|
|
use the "min_const_gen" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+min_const_gen-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -122,7 +116,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+rand_chacha-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the rand_chacha" feature of the "%{crate}" crate.
|
|
|
|
|
use the "rand_chacha" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rand_chacha-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -134,7 +128,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+serde-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the serde" feature of the "%{crate}" crate.
|
|
|
|
|
use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -146,7 +140,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+serde1-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the serde1" feature of the "%{crate}" crate.
|
|
|
|
|
use the "serde1" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde1-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -158,7 +152,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+small_rng-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the small_rng" feature of the "%{crate}" crate.
|
|
|
|
|
use the "small_rng" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+small_rng-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -170,7 +164,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the std" feature of the "%{crate}" crate.
|
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -182,7 +176,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+std_rng-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the std_rng" feature of the "%{crate}" crate.
|
|
|
|
|
use the "std_rng" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std_rng-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|