|
|
65912ef |
# Generated by rust2rpm 13
|
|
|
65912ef |
%bcond_with check
|
|
|
caf4964 |
%global debug_package %{nil}
|
|
|
caf4964 |
|
|
|
caf4964 |
%global crate rand
|
|
|
caf4964 |
|
|
|
caf4964 |
Name: rust-%{crate}0.5
|
|
|
f659318 |
Version: 0.5.6
|
|
|
862fb63 |
Release: 9%{?dist}
|
|
|
caf4964 |
Summary: Random number generators and other randomness functionality
|
|
|
caf4964 |
|
|
|
caf4964 |
# Upstream license specification: MIT/Apache-2.0
|
|
|
caf4964 |
License: MIT or ASL 2.0
|
|
|
caf4964 |
URL: https://crates.io/crates/rand
|
|
|
f65b1b7 |
Source: %{crates_source}
|
|
|
caf4964 |
# Initial patched metadata
|
|
|
caf4964 |
# * Exclude CI files, https://github.com/rust-random/rand/pull/635
|
|
|
caf4964 |
# * Remove non-unix dependencies
|
|
|
caf4964 |
Patch0: rand-fix-metadata.diff
|
|
|
caf4964 |
|
|
|
caf4964 |
ExclusiveArch: %{rust_arches}
|
|
|
785a44f |
%if %{__cargo_skip_build}
|
|
|
785a44f |
BuildArch: noarch
|
|
|
785a44f |
%endif
|
|
|
caf4964 |
|
|
|
caf4964 |
BuildRequires: rust-packaging
|
|
|
caf4964 |
|
|
|
785a44f |
%global _description %{expand:
|
|
|
785a44f |
Random number generators and other randomness functionality.}
|
|
|
caf4964 |
|
|
|
caf4964 |
%description %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
%package devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files devel
|
|
|
caf4964 |
%license LICENSE-MIT LICENSE-APACHE
|
|
|
caf4964 |
%doc README.md CHANGELOG.md
|
|
|
65912ef |
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+default-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+default-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "default" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+default-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+alloc-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+alloc-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "alloc" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+alloc-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+i128_support-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+i128_support-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "i128_support" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+i128_support-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+libc-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+libc-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "libc" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+libc-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+log-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+log-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "log" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+log-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
785a44f |
%package -n %{name}+nightly-devel
|
|
|
785a44f |
Summary: %{summary}
|
|
|
785a44f |
BuildArch: noarch
|
|
|
785a44f |
|
|
|
785a44f |
%description -n %{name}+nightly-devel %{_description}
|
|
|
785a44f |
|
|
|
785a44f |
This package contains library source intended for building other packages
|
|
|
785a44f |
which use "nightly" feature of "%{crate}" crate.
|
|
|
785a44f |
|
|
|
785a44f |
%files -n %{name}+nightly-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+serde-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+serde-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "serde" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+serde-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+serde1-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+serde1-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "serde1" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+serde1-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+serde_derive-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+serde_derive-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "serde_derive" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+serde_derive-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%package -n %{name}+std-devel
|
|
|
caf4964 |
Summary: %{summary}
|
|
|
caf4964 |
BuildArch: noarch
|
|
|
caf4964 |
|
|
|
caf4964 |
%description -n %{name}+std-devel %{_description}
|
|
|
caf4964 |
|
|
|
caf4964 |
This package contains library source intended for building other packages
|
|
|
caf4964 |
which use "std" feature of "%{crate}" crate.
|
|
|
caf4964 |
|
|
|
caf4964 |
%files -n %{name}+std-devel
|
|
|
65912ef |
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
caf4964 |
|
|
|
caf4964 |
%prep
|
|
|
f65b1b7 |
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
caf4964 |
%cargo_prep
|
|
|
caf4964 |
|
|
|
785a44f |
%generate_buildrequires
|
|
|
785a44f |
%cargo_generate_buildrequires
|
|
|
785a44f |
|
|
|
caf4964 |
%build
|
|
|
caf4964 |
%cargo_build
|
|
|
caf4964 |
|
|
|
caf4964 |
%install
|
|
|
caf4964 |
%cargo_install
|
|
|
caf4964 |
|
|
|
caf4964 |
%if %{with check}
|
|
|
caf4964 |
%check
|
|
|
caf4964 |
%cargo_test
|
|
|
caf4964 |
%endif
|
|
|
caf4964 |
|
|
|
caf4964 |
%changelog
|
|
|
862fb63 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-9
|
|
|
862fb63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
862fb63 |
|
|
|
65912ef |
* Tue Feb 18 03:54:19 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.6-8
|
|
|
65912ef |
- Disable tests
|
|
|
65912ef |
|
|
|
e0a4d14 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-7
|
|
|
e0a4d14 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e0a4d14 |
|
|
|
8c5fae1 |
* Tue Dec 10 2019 Josh Stone <jistone@redhat.com> - 0.5.6-6
|
|
|
8c5fae1 |
- Allow warnings in doctests
|
|
|
8c5fae1 |
|
|
|
b68e208 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-5
|
|
|
b68e208 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b68e208 |
|
|
|
785a44f |
* Sat Jun 22 09:54:04 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-4
|
|
|
785a44f |
- Regenerate
|
|
|
785a44f |
|
|
|
f65b1b7 |
* Sat Mar 16 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.6-3
|
|
|
f65b1b7 |
- Do not pull optional dependencies
|
|
|
f65b1b7 |
|
|
|
2e5737a |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.6-2
|
|
|
2e5737a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2e5737a |
|
|
|
f659318 |
* Mon Jan 28 2019 Josh Stone <jistone@redhat.com> - 0.5.6-1
|
|
|
f659318 |
- Update to 0.5.6
|
|
|
f659318 |
|
|
|
caf4964 |
* Mon Dec 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.5-1
|
|
|
caf4964 |
- Initial import
|