import rust-fastrand1-1.9.0-1.el9

i9ce changed/i9ce/rust-fastrand1-1.9.0-1.el9
Arkady L. Shane 1 year ago
commit de07e8fdc5
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

Binary file not shown.

@ -0,0 +1,19 @@
--- fastrand-1.9.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fastrand-1.9.0/Cargo.toml 2023-07-03T15:59:53.496218+00:00
@@ -38,16 +38,3 @@
[dev-dependencies.wyhash]
version = "0.5"
-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dependencies.instant]
-version = "0.1"
-
-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.getrandom]
-version = "0.2"
-features = ["js"]
-
-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.instant]
-version = "0.1"
-features = ["wasm-bindgen"]
-
-[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"wasi\")))".dev-dependencies.wasm-bindgen-test]
-version = "0.3"

@ -0,0 +1,87 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 24
# * missing dev-dependency: wyhash ^0.5
%bcond_with check
%global debug_package %{nil}
%global crate fastrand
Name: rust-fastrand1
Version: 1.9.0
Release: %autorelease
Summary: Simple and fast random number generator
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/fastrand
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: fastrand-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
A simple and fast random number generator.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
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.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.9.0-1
- Rebuilt for MSVSphere 9.3
* Wed Jul 05 2023 Fabio Valentini <decathorpe@gmail.com> - 1.9.0-1
- Initial import (fastrand 1 compat package)
Loading…
Cancel
Save