From 7a7d9cf5848705844dd6722e716d7c64d48bc46b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 19 Jul 2023 01:41:03 +0200 Subject: [PATCH] Update to version 0.12.1; Fixes RHBZ#2076579 --- README.md | 3 --- rust-simplelog.spec | 18 +++++++++++++++--- simplelog-fix-metadata.diff | 10 +++++----- sources | 2 +- 4 files changed, 21 insertions(+), 12 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 6b6ad38..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-simplelog - -The rust-simplelog package \ No newline at end of file diff --git a/rust-simplelog.spec b/rust-simplelog.spec index 14028ab..5266b0b 100644 --- a/rust-simplelog.spec +++ b/rust-simplelog.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate simplelog Name: rust-simplelog -Version: 0.11.2 +Version: 0.12.1 Release: %autorelease Summary: Simple and easy-to-use logging facility for Rust's log crate @@ -19,7 +19,7 @@ Patch: simplelog-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Simple and easy-to-use logging facility for Rust's log crate.} +A simple and easy-to-use logging facility for Rust's log crate.} %description %{_description} @@ -63,6 +63,18 @@ use the "ansi_term" feature of the "%{crate}" crate. %files -n %{name}+ansi_term-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+local-offset-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+local-offset-devel %{_description} + +This package contains library source intended for building other packages which +use the "local-offset" feature of the "%{crate}" crate. + +%files -n %{name}+local-offset-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+paris-devel Summary: %{summary} BuildArch: noarch diff --git a/simplelog-fix-metadata.diff b/simplelog-fix-metadata.diff index 9000ac3..2295d9a 100644 --- a/simplelog-fix-metadata.diff +++ b/simplelog-fix-metadata.diff @@ -1,7 +1,7 @@ ---- simplelog-0.11.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ simplelog-0.11.2/Cargo.toml 2023-01-30T15:13:14.000938+00:00 -@@ -29,15 +29,15 @@ - version = "0.4.1" +--- simplelog-0.12.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ simplelog-0.12.1/Cargo.toml 2023-07-18T17:40:40.430516+00:00 +@@ -39,15 +39,15 @@ + optional = true [dependencies.log] -version = "0.4.*" @@ -18,4 +18,4 @@ +version = "1.1" optional = true - [features] + [dependencies.time] diff --git a/sources b/sources index 3318655..dee8c60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (simplelog-0.11.2.crate) = 468f0a84471b2933d4afc243db2be82e15b83e7ccc49de90fe967e9e2aab620308c0d3a107cc1b737149246f99e54e39efdabb63293994e6194192eefd2208fa +SHA512 (simplelog-0.12.1.crate) = f72e010ff208dccf755a49351e4255f9e858361823ae459345bccc54e00be5919111047362844c6b74bdb1fa984fdcd65e3c2673b97b56e1dcb116a2051d7889