|
|
@ -1,28 +1,22 @@
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
|
|
|
# * missing dev-dependency: rand_hc ^0.2
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate rand
|
|
|
|
%global crate rand
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}0.7
|
|
|
|
Name: rust-rand0.7
|
|
|
|
Version: 0.7.3
|
|
|
|
Version: 0.7.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Random number generators and other randomness functionality
|
|
|
|
Summary: Random number generators and other randomness functionality
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/rand
|
|
|
|
URL: https://crates.io/crates/rand
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
# * Remove non-unix dependencies
|
|
|
|
Patch: rand-fix-metadata-auto.diff
|
|
|
|
Patch0: rand-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Random number generators and other randomness functionality.}
|
|
|
|
Random number generators and other randomness functionality.}
|
|
|
@ -35,13 +29,17 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE COPYRIGHT
|
|
|
|
%license %{crate_instdir}/COPYRIGHT
|
|
|
|
%doc README.md CHANGELOG.md
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/SECURITY.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -49,11 +47,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -61,11 +59,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "alloc" feature of "%{crate}" crate.
|
|
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+getrandom-devel
|
|
|
|
%package -n %{name}+getrandom-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -73,11 +71,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+getrandom-devel %{_description}
|
|
|
|
%description -n %{name}+getrandom-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "getrandom" feature of "%{crate}" crate.
|
|
|
|
use the "getrandom" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+getrandom-devel
|
|
|
|
%files -n %{name}+getrandom-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+getrandom_package-devel
|
|
|
|
%package -n %{name}+getrandom_package-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -85,11 +83,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+getrandom_package-devel %{_description}
|
|
|
|
%description -n %{name}+getrandom_package-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "getrandom_package" feature of "%{crate}" crate.
|
|
|
|
use the "getrandom_package" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+getrandom_package-devel
|
|
|
|
%files -n %{name}+getrandom_package-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libc-devel
|
|
|
|
%package -n %{name}+libc-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -97,11 +95,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+libc-devel %{_description}
|
|
|
|
%description -n %{name}+libc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "libc" feature of "%{crate}" crate.
|
|
|
|
use the "libc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libc-devel
|
|
|
|
%files -n %{name}+libc-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+log-devel
|
|
|
|
%package -n %{name}+log-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -109,11 +107,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+log-devel %{_description}
|
|
|
|
%description -n %{name}+log-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "log" feature of "%{crate}" crate.
|
|
|
|
use the "log" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+log-devel
|
|
|
|
%files -n %{name}+log-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+rand_pcg-devel
|
|
|
|
%package -n %{name}+rand_pcg-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -121,11 +119,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+rand_pcg-devel %{_description}
|
|
|
|
%description -n %{name}+rand_pcg-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "rand_pcg" feature of "%{crate}" crate.
|
|
|
|
use the "rand_pcg" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+rand_pcg-devel
|
|
|
|
%files -n %{name}+rand_pcg-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde1-devel
|
|
|
|
%package -n %{name}+serde1-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -133,11 +131,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde1-devel %{_description}
|
|
|
|
%description -n %{name}+serde1-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "serde1" feature of "%{crate}" crate.
|
|
|
|
use the "serde1" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde1-devel
|
|
|
|
%files -n %{name}+serde1-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+small_rng-devel
|
|
|
|
%package -n %{name}+small_rng-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -145,11 +143,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+small_rng-devel %{_description}
|
|
|
|
%description -n %{name}+small_rng-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "small_rng" feature of "%{crate}" crate.
|
|
|
|
use the "small_rng" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+small_rng-devel
|
|
|
|
%files -n %{name}+small_rng-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -157,11 +155,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "std" feature of "%{crate}" crate.
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|