From ffd4ea1841d739bcbea5c6bf1e7249bdc657ca3e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 14:54:13 +0300 Subject: [PATCH] import rust-bigdecimal0.3-0.3.1-3.el10 --- .gitignore | 1 + .rust-bigdecimal0.3.metadata | 1 + SPECS/rust-bigdecimal0.3.spec | 117 ++++++++++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-bigdecimal0.3.metadata create mode 100644 SPECS/rust-bigdecimal0.3.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d7cedb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/bigdecimal-0.3.1.crate diff --git a/.rust-bigdecimal0.3.metadata b/.rust-bigdecimal0.3.metadata new file mode 100644 index 0000000..febe91a --- /dev/null +++ b/.rust-bigdecimal0.3.metadata @@ -0,0 +1 @@ +786a0d7ab3b438943ee4c00d6b977ed6399d1cf6 SOURCES/bigdecimal-0.3.1.crate diff --git a/SPECS/rust-bigdecimal0.3.spec b/SPECS/rust-bigdecimal0.3.spec new file mode 100644 index 0000000..ee621b0 --- /dev/null +++ b/SPECS/rust-bigdecimal0.3.spec @@ -0,0 +1,117 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 bigdecimal + +Name: rust-bigdecimal0.3 +Version: 0.3.1 +Release: %autorelease +Summary: Arbitrary precision decimal numbers + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/bigdecimal +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Arbitrary precision decimal numbers.} + +%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}/COPYRIGHT +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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 + +%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}+string-only-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+string-only-devel %{_description} + +This package contains library source intended for building other packages which +use the "string-only" feature of the "%{crate}" crate. + +%files -n %{name}+string-only-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.3.1-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 09 2023 Fabio Valentini - 0.3.1-1 +- Initial import (bigdecimal 0.3 compat package) +## END: Generated by rpmautospec