commit d108969348e7740a04ea1775e417dceeed0b3e8d Author: MSVSphere Packaging Team Date: Thu Feb 1 18:36:44 2024 +0300 import rust-serial_test_derive-2.0.0-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3ad6259 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serial_test_derive-2.0.0.crate diff --git a/.rust-serial_test_derive.metadata b/.rust-serial_test_derive.metadata new file mode 100644 index 0000000..4d1beab --- /dev/null +++ b/.rust-serial_test_derive.metadata @@ -0,0 +1 @@ +4dbbece08a4b339a30600b9bb7504b869799dc58 SOURCES/serial_test_derive-2.0.0.crate diff --git a/SPECS/rust-serial_test_derive.spec b/SPECS/rust-serial_test_derive.spec new file mode 100644 index 0000000..cb889b4 --- /dev/null +++ b/SPECS/rust-serial_test_derive.spec @@ -0,0 +1,126 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate serial_test_derive + +Name: rust-serial_test_derive +Version: 2.0.0 +Release: %autorelease +Summary: Helper crate for serial_test + +License: MIT +URL: https://crates.io/crates/serial_test_derive +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Thu Feb 01 2024 MSVSphere Packaging Team - 2.0.0-1 +- Rebuilt for MSVSphere 9.3 + +* 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 +