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

@ -1,14 +1,14 @@
# Generated by rust2rpm # Generated by rust2rpm 9
# * Tests are run in infrastructure # * average is not packaged
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rand %global crate rand
Name: rust-%{crate} Name: rust-%{crate}
Summary: Random number generators and other randomness functionality
Version: 0.6.5 Version: 0.6.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: Random number generators and other randomness functionality
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
@ -19,8 +19,12 @@ 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
%if ! %{__cargo_skip_build}
BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0) BuildRequires: (crate(autocfg/default) >= 0.1.0 with crate(autocfg/default) < 0.2.0)
BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0) BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
BuildRequires: (crate(rand_chacha/default) >= 0.1.0 with crate(rand_chacha/default) < 0.2.0) BuildRequires: (crate(rand_chacha/default) >= 0.1.0 with crate(rand_chacha/default) < 0.2.0)
@ -38,9 +42,10 @@ BuildRequires: (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/
BuildRequires: (crate(average/default) >= 0.9.2 with crate(average/default) < 0.10.0) BuildRequires: (crate(average/default) >= 0.9.2 with crate(average/default) < 0.10.0)
BuildRequires: (crate(rand_xoshiro/default) >= 0.1.0 with crate(rand_xoshiro/default) < 0.2.0) BuildRequires: (crate(rand_xoshiro/default) >= 0.1.0 with crate(rand_xoshiro/default) < 0.2.0)
%endif %endif
%endif
%global _description \ %global _description %{expand:
Random number generators and other randomness functionality. Random number generators and other randomness functionality.}
%description %{_description} %description %{_description}
@ -106,6 +111,30 @@ 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}+packed_simd-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+packed_simd-devel %{_description}
This package contains library source intended for building other packages
which use "packed_simd" feature of "%{crate}" crate.
%files -n %{name}+packed_simd-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+rand_os-devel %package -n %{name}+rand_os-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -130,6 +159,18 @@ which use "serde1" feature of "%{crate}" crate.
%files -n %{name}+serde1-devel %files -n %{name}+serde1-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+simd_support-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simd_support-devel %{_description}
This package contains library source intended for building other packages
which use "simd_support" feature of "%{crate}" crate.
%files -n %{name}+simd_support-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -142,6 +183,30 @@ which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+stdweb-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+stdweb-devel %{_description}
This package contains library source intended for building other packages
which use "stdweb" feature of "%{crate}" crate.
%files -n %{name}+stdweb-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+wasm-bindgen-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wasm-bindgen-devel %{_description}
This package contains library source intended for building other packages
which use "wasm-bindgen" feature of "%{crate}" crate.
%files -n %{name}+wasm-bindgen-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
@ -158,6 +223,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jun 09 14:58:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-4
- Regenerate
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-3 * Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.5-3
- Do not pull optional dependencies - Do not pull optional dependencies

Loading…
Cancel
Save