commit 232018b55b2a9cfc83cae9c3af56ec2936d25373 Author: tigro Date: Thu Jan 11 13:20:16 2024 +0300 import rust-tracing-core-0.1.32-1.el9 diff --git a/.rust-tracing-core.metadata b/.rust-tracing-core.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/tracing-core-0.1.32.crate b/SOURCES/tracing-core-0.1.32.crate new file mode 100644 index 0000000..8b53c19 Binary files /dev/null and b/SOURCES/tracing-core-0.1.32.crate differ diff --git a/SOURCES/tracing-core-fix-metadata-auto.diff b/SOURCES/tracing-core-fix-metadata-auto.diff new file mode 100644 index 0000000..b39dd93 --- /dev/null +++ b/SOURCES/tracing-core-fix-metadata-auto.diff @@ -0,0 +1,18 @@ +--- tracing-core-0.1.32/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tracing-core-0.1.32/Cargo.toml 2023-10-15T10:23:18.475851+00:00 +@@ -53,14 +53,9 @@ + [features] + default = [ + "std", +- "valuable/std", + ] + std = ["once_cell"] + +-[target."cfg(tracing_unstable)".dependencies.valuable] +-version = "0.1.0" +-optional = true +-default-features = false +- + [badges.maintenance] + status = "actively-developed" ++ diff --git a/SPECS/rust-tracing-core.spec b/SPECS/rust-tracing-core.spec new file mode 100644 index 0000000..097093c --- /dev/null +++ b/SPECS/rust-tracing-core.spec @@ -0,0 +1,178 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate tracing-core + +Name: rust-tracing-core +Version: 0.1.32 +Release: %autorelease +Summary: Core primitives for application-level tracing + +License: MIT +URL: https://crates.io/crates/tracing-core +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: tracing-core-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Core primitives for application-level tracing.} + +%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 +%license %{crate_instdir}/src/spin/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}+once_cell-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+once_cell-devel %{_description} + +This package contains library source intended for building other packages which +use the "once_cell" feature of the "%{crate}" crate. + +%files -n %{name}+once_cell-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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 +# * skip a test that fails since Rust 1.52.1 but is not reproducible upstream +%cargo_test -- -- --skip field::test::value_sets_with_fields_from_other_callsites_are_empty +%endif + +%changelog +* Thu Jan 11 2024 Arkady L. Shane - 0.1.32-1 +- Rebuilt for MSVSphere 9.3 + +* Sun Oct 15 2023 Fabio Valentini - 0.1.32-1 +- Update to version 0.1.32; Fixes RHBZ#2244137 + +* Sat Jul 22 2023 Fedora Release Engineering - 0.1.31-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed May 17 2023 Fabio Valentini - 0.1.31-1 +- Update to version 0.1.31; Fixes RHBZ#2203334 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.1.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 0.1.30-1 +- Update to version 0.1.30; Fixes RHBZ#2132816 + +* Fri Jul 29 2022 Fabio Valentini - 0.1.29-1 +- Update to version 0.1.29; Fixes RHBZ#2112470 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Fabio Valentini - 0.1.28-1 +- Update to version 0.1.28; Fixes RHBZ#2094565 + +* Tue May 24 2022 Fabio Valentini - 0.1.26-1 +- Update to version 0.1.26; Fixes RHBZ#2071115 + +* Thu Mar 31 2022 Fabio Valentini - 0.1.23-1 +- Update to version 0.1.23; Fixes RHBZ#2062041 + +* Sat Feb 05 2022 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2050455 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Nov 09 2021 Fabio Valentini - 0.1.21-1 +- Update to version 0.1.21; Fixes RHBZ#2009912 + +* Fri Oct 01 2021 Fabio Valentini - 0.1.20-1 +- Update to version 0.1.20; Fixes RHBZ#2003488 + +* Sat Aug 21 2021 Fabio Valentini - 0.1.19-1 +- Update to version 0.1.19; Fixes RHBZ#1994824 + +* Fri Jul 30 2021 Fabio Valentini - 0.1.18-3 +- Skip test that fails since Rust 1.52.1 but is not reproducible upstream. + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed May 05 2021 Fabio Valentini - 0.1.18-1 +- Update to version 0.1.18. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Oct 01 2020 Fabio Valentini - 0.1.17-1 +- Update to version 0.1.17. + +* Wed Sep 09 2020 Josh Stone - 0.1.16-1 +- Update to 0.1.16 + +* Tue Aug 25 2020 Josh Stone - 0.1.15-1 +- Update to 0.1.15 + +* Thu Jul 23 2020 Josh Stone - 0.1.11-1 +- Initial package +