From 6436fbed6e64b80a15d7aa8c99a3792ca67dcd02 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 12 Mar 2023 16:18:57 +0100 Subject: [PATCH] Update to version 0.10.0; Fixes RHBZ#2148278 --- .gitignore | 1 + README.md | 3 --- rust-env_logger.spec | 45 ++++++++++++++++++++++---------------------- sources | 2 +- 4 files changed, 24 insertions(+), 27 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index a1e3a49..41c4e69 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /env_logger-0.9.0.crate /env_logger-0.9.1.crate /env_logger-0.9.3.crate +/env_logger-0.10.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index baffc7a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-env_logger - -The rust-env_logger package \ No newline at end of file diff --git a/rust-env_logger.spec b/rust-env_logger.spec index bd6cfbb..710e768 100644 --- a/rust-env_logger.spec +++ b/rust-env_logger.spec @@ -1,23 +1,23 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate env_logger Name: rust-env_logger -Version: 0.9.3 +Version: 0.10.0 Release: %autorelease -Summary: Logging implementation configured via an environment variable +Summary: Logging implementation for log which is configured via an environment variable License: MIT OR Apache-2.0 URL: https://crates.io/crates/env_logger Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Logging implementation for `log` which is configured via an environment -variable.} +A logging implementation for `log` which is configured via an +environment variable.} %description %{_description} @@ -33,7 +33,6 @@ 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}/ @@ -49,52 +48,52 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+atty-devel +%package -n %{name}+auto-color-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+atty-devel %{_description} +%description -n %{name}+auto-color-devel %{_description} This package contains library source intended for building other packages which -use the "atty" feature of the "%{crate}" crate. +use the "auto-color" feature of the "%{crate}" crate. -%files -n %{name}+atty-devel +%files -n %{name}+auto-color-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+humantime-devel +%package -n %{name}+color-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+humantime-devel %{_description} +%description -n %{name}+color-devel %{_description} This package contains library source intended for building other packages which -use the "humantime" feature of the "%{crate}" crate. +use the "color" feature of the "%{crate}" crate. -%files -n %{name}+humantime-devel +%files -n %{name}+color-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+regex-devel +%package -n %{name}+humantime-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+regex-devel %{_description} +%description -n %{name}+humantime-devel %{_description} This package contains library source intended for building other packages which -use the "regex" feature of the "%{crate}" crate. +use the "humantime" feature of the "%{crate}" crate. -%files -n %{name}+regex-devel +%files -n %{name}+humantime-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+termcolor-devel +%package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+termcolor-devel %{_description} +%description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which -use the "termcolor" feature of the "%{crate}" crate. +use the "regex" feature of the "%{crate}" crate. -%files -n %{name}+termcolor-devel +%files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %prep diff --git a/sources b/sources index b0d8550..99155ab 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (env_logger-0.9.3.crate) = a3ee86e77d980c2eefe4be32d75422aa0f9a60a43fd11bafaa3c9e556584cf65c36976a6aa650f87426edfd82de0cbb919e0906cdba6db8b486b4dd4b2583bbe +SHA512 (env_logger-0.10.0.crate) = 4dd02f9d333a1f15657167ef4bd403eda5426cad17e0a4a43fa20cc65449345eb4d3fae2d6b10a3480016b9e23497fac13ed7e70b40c9450ef430be9f910d3e4