From 21ed2d40b16eb0af3fb54cfa63b1d1013e31e54a Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:59:16 +0300 Subject: [PATCH] import rust-rust_decimal_macros-1.36.0-1.el10 --- .gitignore | 1 + .rust-rust_decimal_macros.metadata | 1 + SPECS/rust-rust_decimal_macros.spec | 105 ++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-rust_decimal_macros.metadata create mode 100644 SPECS/rust-rust_decimal_macros.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4bab264 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/rust_decimal_macros-1.36.0.crate diff --git a/.rust-rust_decimal_macros.metadata b/.rust-rust_decimal_macros.metadata new file mode 100644 index 0000000..d3e29b9 --- /dev/null +++ b/.rust-rust_decimal_macros.metadata @@ -0,0 +1 @@ +fed45b95a099fb889ef91dfc3f6c596aea4e484a SOURCES/rust_decimal_macros-1.36.0.crate diff --git a/SPECS/rust-rust_decimal_macros.spec b/SPECS/rust-rust_decimal_macros.spec new file mode 100644 index 0000000..691d65f --- /dev/null +++ b/SPECS/rust-rust_decimal_macros.spec @@ -0,0 +1,105 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rust_decimal_macros + +Name: rust-rust_decimal_macros +Version: 1.36.0 +Release: %autorelease +Summary: Shorthand macros to assist creating Decimal types + +License: MIT +URL: https://crates.io/crates/rust_decimal_macros +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Shorthand macros to assist creating Decimal types.} + +%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 +%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}+reexportable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+reexportable-devel %{_description} + +This package contains library source intended for building other packages which +use the "reexportable" feature of the "%{crate}" crate. + +%files -n %{name}+reexportable-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 - 1.36.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Sep 18 2024 Fabio Valentini - 1.36.0-1 +- Update to version 1.36.0; Fixes RHBZ#2306092 + +* Fri Aug 09 2024 Fabio Valentini - 1.35.0-1 +- Update to version 1.35.0; Fixes RHBZ#2297899 + +* Sat Jul 20 2024 Fedora Release Engineering - 1.34.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Feb 19 2024 Fabio Valentini - 1.34.2-1 +- Initial import (#2262293) +## END: Generated by rpmautospec