From bb20801789af943bec62f3df143e3aba871ae2a1 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 22:58:48 +0300 Subject: [PATCH] import rust-tracing_chromium-0.1.0-1.el9 --- .rust-tracing_chromium.metadata | 0 SOURCES/LICENSE | 12 ++++ SOURCES/tracing_chromium-0.1.0.crate | Bin 0 -> 1796 bytes SPECS/rust-tracing_chromium.spec | 83 +++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 .rust-tracing_chromium.metadata create mode 100644 SOURCES/LICENSE create mode 100644 SOURCES/tracing_chromium-0.1.0.crate create mode 100644 SPECS/rust-tracing_chromium.spec diff --git a/.rust-tracing_chromium.metadata b/.rust-tracing_chromium.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..c628c21 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,12 @@ +Copyright (C) 2019 by Josh Gao + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/SOURCES/tracing_chromium-0.1.0.crate b/SOURCES/tracing_chromium-0.1.0.crate new file mode 100644 index 0000000000000000000000000000000000000000..5aba975f02d9410148cffcb5950c0612e94ac7a1 GIT binary patch literal 1796 zcmV+f2mAORiwFn+00002|8#O;V`*+@Ut?%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wP37p|dJ$+`T^_{k6?2SP?Hnz3)ICoXwci1p0-d}7AOHZKw~!P7 literal 0 HcmV?d00001 diff --git a/SPECS/rust-tracing_chromium.spec b/SPECS/rust-tracing_chromium.spec new file mode 100644 index 0000000..a37c2fb --- /dev/null +++ b/SPECS/rust-tracing_chromium.spec @@ -0,0 +1,83 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.0) +%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 23 +%bcond_without check +%global debug_package %{nil} + +%global crate tracing_chromium + +Name: rust-tracing_chromium +Version: 0.1.0 +Release: %autorelease +Summary: Chromium tracing implementation for tracing_facade + +License: 0BSD +URL: https://crates.io/crates/tracing_chromium +Source: %{crates_source} +# PR to include license text: https://github.com/jmgao/tracing/pull/4 +Source1: https://raw.githubusercontent.com/jmgao/tracing/master/LICENSE + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Chromium tracing implementation for tracing_facade.} + +%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 +%{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_no_tilde} -p1 +cp -p %{SOURCE1} . +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.1.0-1 +- Rebuilt for MSVSphere 9.3 + +* Tue Dec 27 2022 Michel Alexandre Salim 0.1.0-1 +- Initial Fedora package