From 27a6d1e8df8636f844d02eb7c31434972d9b25f7 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:14:25 +0300 Subject: [PATCH] import rust-lifeguard-0.6.1-3.el10 --- .gitignore | 1 + .rust-lifeguard.metadata | 1 + SOURCES/README.md | 3 ++ SPECS/rust-lifeguard.spec | 90 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-lifeguard.metadata create mode 100644 SOURCES/README.md create mode 100644 SPECS/rust-lifeguard.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5d17d9f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lifeguard-0.6.1.crate diff --git a/.rust-lifeguard.metadata b/.rust-lifeguard.metadata new file mode 100644 index 0000000..902a3c6 --- /dev/null +++ b/.rust-lifeguard.metadata @@ -0,0 +1 @@ +417c37971f309f4895f0321c014be069d013415d SOURCES/lifeguard-0.6.1.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..2964fca --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lifeguard + +The rust-lifeguard package diff --git a/SPECS/rust-lifeguard.spec b/SPECS/rust-lifeguard.spec new file mode 100644 index 0000000..cdd6928 --- /dev/null +++ b/SPECS/rust-lifeguard.spec @@ -0,0 +1,90 @@ +## 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 lifeguard + +Name: rust-lifeguard +Version: 0.6.1 +Release: %autorelease +Summary: Object pool manager in Rust + +License: MIT +URL: https://crates.io/crates/lifeguard +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +An object pool manager in 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 +%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 + +%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.6.1-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Albert Larsan - 0.6.1-1 +- Initial import (fedora#2254750) +## END: Generated by rpmautospec