From 7aab1989e6ea7f22e421b091b37cf3461ecb02a1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 8 Oct 2023 23:55:44 +0200 Subject: [PATCH] Update to version 0.5.0; Fixes RHBZ#2208320 --- .gitignore | 1 + rust-pretty_env_logger.spec | 9 +++++---- sources | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index c7acb0b..d43577e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /pretty_env_logger-0.3.0.crate /pretty_env_logger-0.3.1.crate /pretty_env_logger-0.4.0.crate +/pretty_env_logger-0.5.0.crate diff --git a/rust-pretty_env_logger.spec b/rust-pretty_env_logger.spec index ae6cfbd..a8276b2 100644 --- a/rust-pretty_env_logger.spec +++ b/rust-pretty_env_logger.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate pretty_env_logger Name: rust-pretty_env_logger -Version: 0.4.0 +Version: 0.5.0 Release: %autorelease Summary: Visually pretty env_logger @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/pretty_env_logger Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A visually pretty env_logger.} @@ -33,6 +33,7 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel @@ -48,7 +49,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 48b1847..49a37af 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pretty_env_logger-0.4.0.crate) = 770de8e256cedfb21fc89cc1ecc564ae1a8e67263705b4234b91867996c4db77ec703b70a46aef6b018c6ce09aab6a232fd1eedf8324c39f119a6807daa534f9 +SHA512 (pretty_env_logger-0.5.0.crate) = fcfd3e8465fda1879083f9a3bb4f12bbb4c93d326a7db672226510e6cf9ac49ccfe469d16d7a00b9e25c9caec36a81ddaae28d7d1c4b423c76ee1e909a5d87d4