From 1d54338efd00bfce3740f0cbe636e5491915f9a2 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:26:03 +0300 Subject: [PATCH] import rust-num-bigint-dig-0.8.4-3.el10 --- .gitignore | 1 + .rust-num-bigint-dig.metadata | 1 + SOURCES/rust2rpm.toml | 2 + SPECS/rust-num-bigint-dig.spec | 247 +++++++++++++++++++++++++++++++++ 4 files changed, 251 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-num-bigint-dig.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-num-bigint-dig.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4d9f60 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/num-bigint-dig-0.8.4.crate diff --git a/.rust-num-bigint-dig.metadata b/.rust-num-bigint-dig.metadata new file mode 100644 index 0000000..8d13250 --- /dev/null +++ b/.rust-num-bigint-dig.metadata @@ -0,0 +1 @@ +01833b21423bc91d509074e6bf406ff8f0c64bd1 SOURCES/num-bigint-dig-0.8.4.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..0dc84c9 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,2 @@ +[features] +hide = ["nightly"] diff --git a/SPECS/rust-num-bigint-dig.spec b/SPECS/rust-num-bigint-dig.spec new file mode 100644 index 0000000..8c49433 --- /dev/null +++ b/SPECS/rust-num-bigint-dig.spec @@ -0,0 +1,247 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate num-bigint-dig + +Name: rust-num-bigint-dig +Version: 0.8.4 +Release: %autorelease +Summary: Big integer implementation for Rust + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/num-bigint-dig +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Big integer implementation for Rust.} + +%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}/README.md +%doc %{crate_instdir}/RELEASES.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 + +%package -n %{name}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fuzz-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fuzz-devel %{_description} + +This package contains library source intended for building other packages which +use the "fuzz" feature of the "%{crate}" crate. + +%files -n %{name}+fuzz-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+i128-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+i128-devel %{_description} + +This package contains library source intended for building other packages which +use the "i128" feature of the "%{crate}" crate. + +%files -n %{name}+i128-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+prime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+prime-devel %{_description} + +This package contains library source intended for building other packages which +use the "prime" feature of the "%{crate}" crate. + +%files -n %{name}+prime-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. + +%files -n %{name}+rand-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+u64_digit-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+u64_digit-devel %{_description} + +This package contains library source intended for building other packages which +use the "u64_digit" feature of the "%{crate}" crate. + +%files -n %{name}+u64_digit-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. + +%files -n %{name}+zeroize-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.8.4-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.8.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Peter Robinson - 0.8.4-1 +- Update to 0.8.4 + +* Mon Aug 07 2023 Fabio Valentini - 0.7.1-1 +- Update to version 0.7.1 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Mar 14 2022 Fabio Valentini - 0.7.0-3 +- Drop broken torture tests on 32-bit architectures. + +* Mon Mar 14 2022 Fabio Valentini - 0.7.0-2 +- Fix broken feature subpackages. + +* Sun Feb 13 2022 Peter Robinson - 0.7.0-1 +- Update to 0.7.0 + +* Tue Jan 25 2022 Fabio Valentini - 0.6.0-8 +- Drop unused / unsupported nightly feature. + +* Fri Jan 21 2022 Fedora Release Engineering - 0.6.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Peter Robinson - 0.6.0-3 +- Review Updates + +* Sun Jul 19 2020 Peter Robinson - 0.6.0-2 +- Update autocfg dependency + +* Sun Jul 19 2020 Peter Robinson - 0.6.0-1 +- Initial package + +## END: Generated by rpmautospec