From 65ea5046648b922f4c19a6f5d8b0e7b8a2832284 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:56:35 +0300 Subject: [PATCH] import rust-tracing-attributes-0.1.28-1.el10 --- .gitignore | 1 + .rust-tracing-attributes.metadata | 1 + SOURCES/rust2rpm.toml | 3 + SPECS/rust-tracing-attributes.spec | 170 +++++++++++++++++++++++++++++ 4 files changed, 175 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-tracing-attributes.metadata create mode 100644 SOURCES/rust2rpm.toml create mode 100644 SPECS/rust-tracing-attributes.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b33b341 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/tracing-attributes-0.1.28.crate diff --git a/.rust-tracing-attributes.metadata b/.rust-tracing-attributes.metadata new file mode 100644 index 0000000..12f3213 --- /dev/null +++ b/.rust-tracing-attributes.metadata @@ -0,0 +1 @@ +d89bf6029a9f4fd0d4eff154069ac176d50852a2 SOURCES/tracing-attributes-0.1.28.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..31b0ce8 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["resolve dependency loop with tracing"] diff --git a/SPECS/rust-tracing-attributes.spec b/SPECS/rust-tracing-attributes.spec new file mode 100644 index 0000000..f4d4262 --- /dev/null +++ b/SPECS/rust-tracing-attributes.spec @@ -0,0 +1,170 @@ +## 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 27 +# * resolve dependency loop with tracing +%bcond check 0 +%global debug_package %{nil} + +%global crate tracing-attributes + +Name: rust-tracing-attributes +Version: 0.1.28 +Release: %autorelease +Summary: Procedural macro attributes for automatically instrumenting functions + +License: MIT +URL: https://crates.io/crates/tracing-attributes +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Procedural macro attributes for automatically instrumenting functions.} + +%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}/CHANGELOG.md +%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-await-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-await-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-await" feature of the "%{crate}" crate. + +%files -n %{name}+async-await-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.1.28-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Nov 28 2024 Fabio Valentini - 0.1.28-1 +- Update to version 0.1.28; Fixes RHBZ#2329059 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.1.27-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.1.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Oct 15 2023 Fabio Valentini - 0.1.27-1 +- Update to version 0.1.27; Fixes RHBZ#2244093 + +* Sat Jul 22 2023 Fedora Release Engineering - 0.1.26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 23 2023 Fabio Valentini - 0.1.26-1 +- Update to version 0.1.26; Fixes RHBZ#2215964 + +* Wed Apr 26 2023 Fabio Valentini - 0.1.24-1 +- Update to version 0.1.24; Fixes RHBZ#2189307 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.1.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 0.1.23-1 +- Update to version 0.1.23; Fixes RHBZ#2132815 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.22-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 08 2022 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2103363 + +* Thu May 12 2022 Fabio Valentini - 0.1.21-1 +- Update to version 0.1.21; Fixes RHBZ#2079115 + +* Thu Mar 31 2022 Fabio Valentini - 0.1.20-1 +- Update to version 0.1.20; Fixes RHBZ#2062033 + +* Sat Feb 05 2022 Fabio Valentini - 0.1.19-1 +- Update to version 0.1.19; Fixes RHBZ#2050453 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 09 2021 Fabio Valentini - 0.1.18-1 +- Update to version 0.1.18; Fixes RHBZ#2009911 + +* Fri Oct 01 2021 Fabio Valentini - 0.1.16-1 +- Update to version 0.1.16; Fixes RHBZ#2003826 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Mar 25 2021 Fabio Valentini - 0.1.15-1 +- Update to version 0.1.15. +- Fixes RHBZ#1937543 + +* Sat Feb 27 2021 Fabio Valentini - 0.1.13-1 +- Update to version 0.1.13. + +* Sun Feb 07 2021 Fabio Valentini - 0.1.12-1 +- Update to version 0.1.12. +- Fixes RHBZ#1925332 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Aug 25 2020 Josh Stone - 0.1.11-1 +- Update to 0.1.11 + +* Thu Jul 23 2020 Josh Stone - 0.1.9-1 +- Initial package + +## END: Generated by rpmautospec