From 88b7da64fefbbdb5f8926797d0de66b34b5d3eb8 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:16:01 +0300 Subject: [PATCH] import rust-snapbox-macros-0.3.10-1.el10 --- .gitignore | 1 + .rust-snapbox-macros.metadata | 1 + SPECS/rust-snapbox-macros.spec | 124 +++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-snapbox-macros.metadata create mode 100644 SPECS/rust-snapbox-macros.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9ec6c1d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/snapbox-macros-0.3.10.crate diff --git a/.rust-snapbox-macros.metadata b/.rust-snapbox-macros.metadata new file mode 100644 index 0000000..e808bb4 --- /dev/null +++ b/.rust-snapbox-macros.metadata @@ -0,0 +1 @@ +ef59b7b7b3f5899fd52158a72ea2affc5af8fe43 SOURCES/snapbox-macros-0.3.10.crate diff --git a/SPECS/rust-snapbox-macros.spec b/SPECS/rust-snapbox-macros.spec new file mode 100644 index 0000000..8a520e8 --- /dev/null +++ b/SPECS/rust-snapbox-macros.spec @@ -0,0 +1,124 @@ +## 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 snapbox-macros + +Name: rust-snapbox-macros +Version: 0.3.10 +Release: %autorelease +Summary: Snapshot testing toolbox + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/snapbox-macros +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Snapshot testing toolbox.} + +%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 +%{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}+color-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+color-devel %{_description} + +This package contains library source intended for building other packages which +use the "color" feature of the "%{crate}" crate. + +%files -n %{name}+color-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. + +%files -n %{name}+debug-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.10-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 26 2024 Fabio Valentini - 0.3.10-1 +- Update to version 0.3.10; Fixes RHBZ#2299898 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue Jun 04 2024 Fabio Valentini - 0.3.9-1 +- Update to version 0.3.9; Fixes RHBZ#2263407 + +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jan 13 2024 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7; Fixes RHBZ#2258001 + +* Fri Nov 03 2023 Fabio Valentini - 0.3.6-1 +- Initial import (#2246005) +## END: Generated by rpmautospec