|
|
8cf04cd |
# Generated by rust2rpm 26
|
|
|
029f330 |
%bcond_without check
|
|
|
35dbfa1 |
%global debug_package %{nil}
|
|
|
35dbfa1 |
|
|
|
35dbfa1 |
%global crate log
|
|
|
35dbfa1 |
|
|
|
1e52e19 |
Name: rust-log
|
|
|
8cf04cd |
Version: 0.4.21
|
|
|
7200508 |
Release: %autorelease
|
|
|
35dbfa1 |
Summary: Lightweight logging facade for Rust
|
|
|
35dbfa1 |
|
|
|
1e52e19 |
License: MIT OR Apache-2.0
|
|
|
35dbfa1 |
URL: https://crates.io/crates/log
|
|
|
f2ed0b9 |
Source: %{crates_source}
|
|
|
1e52e19 |
# Manually created patch for downstream crate metadata changes
|
|
|
1e52e19 |
# * drop references to tests that are not included in published crates
|
|
|
1e52e19 |
Patch: log-fix-metadata.diff
|
|
|
35dbfa1 |
|
|
|
8cf04cd |
BuildRequires: cargo-rpm-macros >= 24
|
|
|
35dbfa1 |
|
|
|
029f330 |
%global _description %{expand:
|
|
|
1e52e19 |
A lightweight logging facade for Rust.}
|
|
|
046f069 |
|
|
|
046f069 |
%description %{_description}
|
|
|
35dbfa1 |
|
|
|
35dbfa1 |
%package devel
|
|
|
35dbfa1 |
Summary: %{summary}
|
|
|
35dbfa1 |
BuildArch: noarch
|
|
|
35dbfa1 |
|
|
|
046f069 |
%description devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files devel
|
|
|
37169a8 |
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
37169a8 |
%license %{crate_instdir}/LICENSE-MIT
|
|
|
37169a8 |
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
37169a8 |
%doc %{crate_instdir}/README.md
|
|
|
37169a8 |
%{crate_instdir}/
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+default-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+default-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "default" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+default-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
8cf04cd |
%package -n %{name}+kv-devel
|
|
|
8cf04cd |
Summary: %{summary}
|
|
|
8cf04cd |
BuildArch: noarch
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%description -n %{name}+kv-devel %{_description}
|
|
|
8cf04cd |
|
|
|
8cf04cd |
This package contains library source intended for building other packages which
|
|
|
8cf04cd |
use the "kv" feature of the "%{crate}" crate.
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%files -n %{name}+kv-devel
|
|
|
8cf04cd |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%package -n %{name}+kv_serde-devel
|
|
|
8cf04cd |
Summary: %{summary}
|
|
|
8cf04cd |
BuildArch: noarch
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%description -n %{name}+kv_serde-devel %{_description}
|
|
|
8cf04cd |
|
|
|
8cf04cd |
This package contains library source intended for building other packages which
|
|
|
8cf04cd |
use the "kv_serde" feature of the "%{crate}" crate.
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%files -n %{name}+kv_serde-devel
|
|
|
8cf04cd |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%package -n %{name}+kv_std-devel
|
|
|
8cf04cd |
Summary: %{summary}
|
|
|
8cf04cd |
BuildArch: noarch
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%description -n %{name}+kv_std-devel %{_description}
|
|
|
8cf04cd |
|
|
|
8cf04cd |
This package contains library source intended for building other packages which
|
|
|
8cf04cd |
use the "kv_std" feature of the "%{crate}" crate.
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%files -n %{name}+kv_std-devel
|
|
|
8cf04cd |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%package -n %{name}+kv_sval-devel
|
|
|
8cf04cd |
Summary: %{summary}
|
|
|
8cf04cd |
BuildArch: noarch
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%description -n %{name}+kv_sval-devel %{_description}
|
|
|
8cf04cd |
|
|
|
8cf04cd |
This package contains library source intended for building other packages which
|
|
|
8cf04cd |
use the "kv_sval" feature of the "%{crate}" crate.
|
|
|
8cf04cd |
|
|
|
8cf04cd |
%files -n %{name}+kv_sval-devel
|
|
|
8cf04cd |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
8cf04cd |
|
|
|
bec774d |
%package -n %{name}+kv_unstable-devel
|
|
|
bec774d |
Summary: %{summary}
|
|
|
bec774d |
BuildArch: noarch
|
|
|
bec774d |
|
|
|
bec774d |
%description -n %{name}+kv_unstable-devel %{_description}
|
|
|
bec774d |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "kv_unstable" feature of the "%{crate}" crate.
|
|
|
bec774d |
|
|
|
bec774d |
%files -n %{name}+kv_unstable-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
bec774d |
|
|
|
61f72a8 |
%package -n %{name}+kv_unstable_serde-devel
|
|
|
61f72a8 |
Summary: %{summary}
|
|
|
61f72a8 |
BuildArch: noarch
|
|
|
61f72a8 |
|
|
|
61f72a8 |
%description -n %{name}+kv_unstable_serde-devel %{_description}
|
|
|
61f72a8 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "kv_unstable_serde" feature of the "%{crate}" crate.
|
|
|
61f72a8 |
|
|
|
61f72a8 |
%files -n %{name}+kv_unstable_serde-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
61f72a8 |
|
|
|
0016966 |
%package -n %{name}+kv_unstable_std-devel
|
|
|
0016966 |
Summary: %{summary}
|
|
|
0016966 |
BuildArch: noarch
|
|
|
0016966 |
|
|
|
0016966 |
%description -n %{name}+kv_unstable_std-devel %{_description}
|
|
|
0016966 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "kv_unstable_std" feature of the "%{crate}" crate.
|
|
|
0016966 |
|
|
|
0016966 |
%files -n %{name}+kv_unstable_std-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
0016966 |
|
|
|
7eeedd1 |
%package -n %{name}+kv_unstable_sval-devel
|
|
|
7eeedd1 |
Summary: %{summary}
|
|
|
7eeedd1 |
BuildArch: noarch
|
|
|
7eeedd1 |
|
|
|
7eeedd1 |
%description -n %{name}+kv_unstable_sval-devel %{_description}
|
|
|
7eeedd1 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "kv_unstable_sval" feature of the "%{crate}" crate.
|
|
|
7eeedd1 |
|
|
|
7eeedd1 |
%files -n %{name}+kv_unstable_sval-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
7eeedd1 |
|
|
|
046f069 |
%package -n %{name}+max_level_debug-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_debug-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_debug" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_debug-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+max_level_error-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_error-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_error" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_error-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+max_level_info-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_info-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_info" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_info-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+max_level_off-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_off-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_off" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_off-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+max_level_trace-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_trace-devel %{_description}
|
|
|
35dbfa1 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_trace" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_trace-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+max_level_warn-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+max_level_warn-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "max_level_warn" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+max_level_warn-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_debug-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_debug-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_debug" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_debug-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_error-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_error-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_error" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_error-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_info-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_info-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_info" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_info-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_off-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_off-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_off" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_off-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_trace-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_trace-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_trace" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_trace-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+release_max_level_warn-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+release_max_level_warn-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "release_max_level_warn" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+release_max_level_warn-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+serde-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+serde-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "serde" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+serde-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
046f069 |
|
|
|
046f069 |
%package -n %{name}+std-devel
|
|
|
046f069 |
Summary: %{summary}
|
|
|
046f069 |
BuildArch: noarch
|
|
|
046f069 |
|
|
|
046f069 |
%description -n %{name}+std-devel %{_description}
|
|
|
046f069 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "std" feature of the "%{crate}" crate.
|
|
|
046f069 |
|
|
|
046f069 |
%files -n %{name}+std-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
35dbfa1 |
|
|
|
7eeedd1 |
%package -n %{name}+sval-devel
|
|
|
7eeedd1 |
Summary: %{summary}
|
|
|
7eeedd1 |
BuildArch: noarch
|
|
|
7eeedd1 |
|
|
|
7eeedd1 |
%description -n %{name}+sval-devel %{_description}
|
|
|
7eeedd1 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "sval" feature of the "%{crate}" crate.
|
|
|
7eeedd1 |
|
|
|
7eeedd1 |
%files -n %{name}+sval-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
7eeedd1 |
|
|
|
1e52e19 |
%package -n %{name}+sval_ref-devel
|
|
|
1e52e19 |
Summary: %{summary}
|
|
|
1e52e19 |
BuildArch: noarch
|
|
|
1e52e19 |
|
|
|
1e52e19 |
%description -n %{name}+sval_ref-devel %{_description}
|
|
|
1e52e19 |
|
|
|
1e52e19 |
This package contains library source intended for building other packages which
|
|
|
1e52e19 |
use the "sval_ref" feature of the "%{crate}" crate.
|
|
|
1e52e19 |
|
|
|
1e52e19 |
%files -n %{name}+sval_ref-devel
|
|
|
1e52e19 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
1e52e19 |
|
|
|
61f72a8 |
%package -n %{name}+value-bag-devel
|
|
|
61f72a8 |
Summary: %{summary}
|
|
|
61f72a8 |
BuildArch: noarch
|
|
|
61f72a8 |
|
|
|
61f72a8 |
%description -n %{name}+value-bag-devel %{_description}
|
|
|
61f72a8 |
|
|
|
7200508 |
This package contains library source intended for building other packages which
|
|
|
37169a8 |
use the "value-bag" feature of the "%{crate}" crate.
|
|
|
61f72a8 |
|
|
|
61f72a8 |
%files -n %{name}+value-bag-devel
|
|
|
37169a8 |
%ghost %{crate_instdir}/Cargo.toml
|
|
|
61f72a8 |
|
|
|
35dbfa1 |
%prep
|
|
|
8cf04cd |
%autosetup -n %{crate}-%{version} -p1
|
|
|
35dbfa1 |
%cargo_prep
|
|
|
35dbfa1 |
|
|
|
b9e48dd |
%generate_buildrequires
|
|
|
b9e48dd |
%cargo_generate_buildrequires
|
|
|
b9e48dd |
|
|
|
35dbfa1 |
%build
|
|
|
35dbfa1 |
%cargo_build
|
|
|
35dbfa1 |
|
|
|
35dbfa1 |
%install
|
|
|
35dbfa1 |
%cargo_install
|
|
|
35dbfa1 |
|
|
|
35dbfa1 |
%if %{with check}
|
|
|
35dbfa1 |
%check
|
|
|
35dbfa1 |
%cargo_test
|
|
|
35dbfa1 |
%endif
|
|
|
35dbfa1 |
|
|
|
35dbfa1 |
%changelog
|
|
|
7200508 |
%autochangelog
|