Initial import (#2247954)

epel9 imports/e9/rust-test-log-0.2.13-1.el9
Fabio Valentini 1 year ago
parent 590f3726f3
commit 75268ccc66
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/test-log-0.2.13.crate

@ -1,3 +0,0 @@
# rust-test-log
The rust-test-log package

@ -0,0 +1,95 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate test-log
Name: rust-test-log
Version: 0.2.13
Release: %autorelease
Summary: Attribute for initializing logging and/or tracing before running tests
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/test-log
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
A replacement of the #[test] attribute that initializes logging and/or
tracing infrastructure before running tests.}
%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-APACHE
%license %{crate_instdir}/LICENSE-MIT
%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}+log-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+log-devel %{_description}
This package contains library source intended for building other packages which
use the "log" feature of the "%{crate}" crate.
%files -n %{name}+log-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+trace-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+trace-devel %{_description}
This package contains library source intended for building other packages which
use the "trace" feature of the "%{crate}" crate.
%files -n %{name}+trace-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
%autochangelog

@ -0,0 +1,3 @@
[package]
summary = "Attribute for initializing logging and/or tracing before running tests"

@ -0,0 +1 @@
SHA512 (test-log-0.2.13.crate) = 19331a5856b174f30bc0f1946bf9a108a01868c0d2d82758b72767a0b18e405ac60036383b490bce7bd328b22c6859ea255298b257308d9a7a303815b1c62725
Loading…
Cancel
Save