import rust-env_logger-0.11.6-1.el10

i10ce changed/i10ce/rust-env_logger-0.11.6-1.el10
MSVSphere Packaging Team 2 weeks ago
parent 88e93dceb1
commit 80fc2afd5f
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/env_logger-0.11.5.crate SOURCES/env_logger-0.11.6.crate

@ -1 +1 @@
84ced07b29acb093c50e616cc55c767e89f98063 SOURCES/env_logger-0.11.5.crate 4e4d4404485aad9aa0e530df0e3e5977ca33667d SOURCES/env_logger-0.11.6.crate

@ -1,79 +0,0 @@
From b020d9754883ce42eab1f38ffc031f0b82b079fe Mon Sep 17 00:00:00 2001
From: Ed Page <eopage@gmail.com>
Date: Fri, 26 Jul 2024 13:30:09 -0500
Subject: [PATCH] docs: Fix infostrings
---
src/lib.rs | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/lib.rs b/src/lib.rs
index f200dc9..b8905e7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -32,18 +32,18 @@
//!
//! Assumes the binary is `main`:
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=error ./main
//! [2017-11-09T02:12:24Z ERROR main] this is printed by default
//! ```
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=info ./main
//! [2017-11-09T02:12:24Z ERROR main] this is printed by default
//! [2017-11-09T02:12:24Z INFO main] the answer was: 12
//! ```
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=debug ./main
//! [2017-11-09T02:12:24Z DEBUG main] this is a debug message
//! [2017-11-09T02:12:24Z ERROR main] this is printed by default
@@ -52,7 +52,7 @@
//!
//! You can also set the log level on a per module basis:
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=main=info ./main
//! [2017-11-09T02:12:24Z ERROR main] this is printed by default
//! [2017-11-09T02:12:24Z INFO main] the answer was: 12
@@ -60,7 +60,7 @@
//!
//! And enable all logging:
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=main ./main
//! [2017-11-09T02:12:24Z DEBUG main] this is a debug message
//! [2017-11-09T02:12:24Z ERROR main] this is printed by default
@@ -70,7 +70,7 @@
//! If the binary name contains hyphens, you will need to replace
//! them with underscores:
//!
-//! ```{.bash}
+//! ```console
//! $ RUST_LOG=my_app ./my-app
//! [2017-11-09T02:12:24Z DEBUG my_app] this is a debug message
//! [2017-11-09T02:12:24Z ERROR my_app] this is printed by default
@@ -88,14 +88,14 @@
//! **By default all logging is disabled except for the `error` level**
//!
//! The **`RUST_LOG`** environment variable controls logging with the syntax:
-//! ```text
+//! ```console
//! RUST_LOG=[target][=][level][,...]
//! ```
//! Or in other words, its a comma-separated list of directives.
//! Directives can filter by **target**, by **level**, or both (using `=`).
//!
//! For example,
-//! ```text
+//! ```console
//! RUST_LOG=data=debug,hardware=debug
//! ```
//!

@ -1,29 +1,27 @@
## START: Set by rpmautospec ## START: Set by rpmautospec
## (rpmautospec version 0.7.2) ## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog ## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: %define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 2; release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1); print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 26 # Generated by rust2rpm 27
%bcond_without check %bcond check 1
%global debug_package %{nil} %global debug_package %{nil}
%global crate env_logger %global crate env_logger
Name: rust-env_logger Name: rust-env_logger
Version: 0.11.5 Version: 0.11.6
Release: %autorelease Release: %autorelease
Summary: Logging implementation for log which is configured via an environment variable Summary: Logging implementation for log which is configured via an environment variable
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/env_logger URL: https://crates.io/crates/env_logger
Source: %{crates_source} Source: %{crates_source}
# * upstream patch to fix invalid code block attributes in docstrings
Patch: https://github.com/rust-cli/env_logger/commit/b020d97.patch
BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-rpm-macros >= 24
@ -139,10 +137,13 @@ use the "unstable-kv" feature of the "%{crate}" crate.
%endif %endif
%changelog %changelog
## START: Generated by rpmautospec
* Sat Jan 04 2025 Fabio Valentini <decathorpe@gmail.com> - 0.11.6-1
- Update to version 0.11.6; Fixes RHBZ#2333531
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.11.5-2 * Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.11.5-2
- Rebuilt for MSVSphere 10 - Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Thu Aug 08 2024 Fabio Valentini <decathorpe@gmail.com> - 0.11.5-2 * Thu Aug 08 2024 Fabio Valentini <decathorpe@gmail.com> - 0.11.5-2
- Include upstream patch to fix invalid code block attributes in docstrings - Include upstream patch to fix invalid code block attributes in docstrings

Loading…
Cancel
Save