Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9 imports/e9/rust-tracing_chromium-0.1.0-1.el9
Michel Alexandre Salim 2 years ago
parent 59e7a5e161
commit 375421ba5e
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -0,0 +1 @@
/tracing_chromium-0.1.0.crate

@ -0,0 +1,12 @@
Copyright (C) 2019 by Josh Gao <josh@jmgao.dev>
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.

@ -0,0 +1,70 @@
# 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
%autochangelog

@ -0,0 +1 @@
SHA512 (tracing_chromium-0.1.0.crate) = 16cc7ac56a48dcd74e7dad516d4e9d104c5446453c98954d0337175dfae42c5fb6612ea58813f7ec9e1d6b6a8d4f465434cf646313d059d4f71ef57e51bfe260
Loading…
Cancel
Save