From a767c5e84974b288f39fc012927d60b7bdbb980d Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:10:01 +0300 Subject: [PATCH] import rust-serial_test_derive-3.2.0-1.el10 --- .gitignore | 1 + .rust-serial_test_derive.metadata | 1 + SPECS/rust-serial_test_derive.spec | 158 +++++++++++++++++++++++++++++ 3 files changed, 160 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-serial_test_derive.metadata create mode 100644 SPECS/rust-serial_test_derive.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8388bf8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serial_test_derive-3.2.0.crate diff --git a/.rust-serial_test_derive.metadata b/.rust-serial_test_derive.metadata new file mode 100644 index 0000000..67d75b3 --- /dev/null +++ b/.rust-serial_test_derive.metadata @@ -0,0 +1 @@ +3b42fa692916730d8e1ebe4382964717d8914d1f SOURCES/serial_test_derive-3.2.0.crate diff --git a/SPECS/rust-serial_test_derive.spec b/SPECS/rust-serial_test_derive.spec new file mode 100644 index 0000000..aaefdd7 --- /dev/null +++ b/SPECS/rust-serial_test_derive.spec @@ -0,0 +1,158 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 serial_test_derive + +Name: rust-serial_test_derive +Version: 3.2.0 +Release: %autorelease +Summary: Helper crate for serial_test + +License: MIT +URL: https://crates.io/crates/serial_test_derive +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Helper crate for serial_test.} + +%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}+async-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-devel %{_description} + +This package contains library source intended for building other packages which +use the "async" feature of the "%{crate}" crate. + +%files -n %{name}+async-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+test_logging-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test_logging-devel %{_description} + +This package contains library source intended for building other packages which +use the "test_logging" feature of the "%{crate}" crate. + +%files -n %{name}+test_logging-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 - 3.2.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Nov 13 2024 Fabio Valentini - 3.2.0-1 +- Update to version 3.2.0; Fixes RHBZ#2324744 + +* Fri Aug 02 2024 Fabio Valentini - 3.1.1-1 +- Update to version 3.1.1; Fixes RHBZ#2276318 + +* Sat Jul 20 2024 Fedora Release Engineering - 3.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Mar 22 2024 Michel Lind - 3.0.0-1 +- Update to 3.0.0 (rhbz#2257121) + +* Sat Jan 27 2024 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jun 22 2023 Fabio Valentini - 2.0.0-1 +- Update to version 2.0.0; Fixes RHBZ#2183044 + +* Mon Feb 20 2023 Peter Robinson - 1.0.0-1 +- Update to 1.0.0 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Nov 28 2022 Fabio Valentini - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#2093649 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Apr 12 2022 Fabio Valentini - 0.6.0-1 +- Update to version 0.6.0; Fixes RHBZ#2056263 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Dec 27 14:42:42 CET 2020 Igor Raits - 0.5.1-1 +- Update to 0.5.1 + +* Wed Oct 21 13:19:11 CEST 2020 Javier Martinez Canillas - 0.5.0-1 +- Initial package + Resolves: rhbz#1886458 + +## END: Generated by rpmautospec