commit 4c1ac35feda3ecc5620fd15357bd3039224115da Author: tigro Date: Mon Jan 15 22:46:14 2024 +0300 import rust-statistical-1.0.0-12.el9 diff --git a/.rust-statistical.metadata b/.rust-statistical.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/statistical-1.0.0.crate b/SOURCES/statistical-1.0.0.crate new file mode 100644 index 0000000..858a138 Binary files /dev/null and b/SOURCES/statistical-1.0.0.crate differ diff --git a/SOURCES/statistical-fix-metadata.diff b/SOURCES/statistical-fix-metadata.diff new file mode 100644 index 0000000..ac2ca5e --- /dev/null +++ b/SOURCES/statistical-fix-metadata.diff @@ -0,0 +1,11 @@ +--- statistical-1.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ statistical-1.0.0/Cargo.toml 2020-07-10T01:04:02.868150+00:00 +@@ -22,7 +22,7 @@ + license = "MIT" + repository = "https://github.com/JeffBelgum/statistical" + [dependencies.num] +-version = "0.2" ++version = "0.3" + + [dependencies.rand] + version = "0.6" diff --git a/SPECS/rust-statistical.spec b/SPECS/rust-statistical.spec new file mode 100644 index 0000000..a145fcb --- /dev/null +++ b/SPECS/rust-statistical.spec @@ -0,0 +1,122 @@ +# Generated by rust2rpm 13 +%bcond_without check +%global debug_package %{nil} + +%global crate statistical + +Name: rust-%{crate} +Version: 1.0.0 +Release: 12%{?dist} +Summary: Simple statistics library + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/statistical +Source: %{crates_source} +# Initial patched metadata +# * Bump num to 0.3 +Patch0: statistical-fix-metadata.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Simple statistics library.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license LICENSE +%doc README.md +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%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 "default" feature of "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 +# https://github.com/JeffBelgum/statistical/issues/16 +%cargo_test -- -- --skip univariate_::test::test_pkurtosis +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 1.0.0-12 +- Rebuilt for MSVSphere 9.3 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.0-8 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jul 09 2020 Josh Stone - 1.0.0-6 +- Bump num to 0.3 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Jul 21 08:55:28 CEST 2019 Igor Gnatenko - 1.0.0-3 +- Regenerate + +* Sun Jun 09 14:46:19 CEST 2019 Igor Gnatenko - 1.0.0-2 +- Regenerate + +* Sun Feb 10 2019 Igor Gnatenko - 1.0.0-1 +- Update to 1.0.0 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 28 2019 Igor Gnatenko - 0.1.1-1 +- Initial package