From 2cd55ec8b958f1a3e7b172cb6180e9996e3c4728 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 29 Mar 2020 09:51:54 +0200 Subject: [PATCH] Update to 0.7.5 Signed-off-by: Igor Raits --- .gitignore | 1 + rust-simplelog.spec | 32 ++++++++++++++++++++++---------- simplelog-fix-metadata.diff | 15 --------------- sources | 2 +- 4 files changed, 24 insertions(+), 26 deletions(-) delete mode 100644 simplelog-fix-metadata.diff diff --git a/.gitignore b/.gitignore index c85ae4d..0cb8f1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /simplelog-0.5.2.crate /simplelog-0.5.3.crate /simplelog-0.7.4.crate +/simplelog-0.7.5.crate diff --git a/rust-simplelog.spec b/rust-simplelog.spec index bb0ee59..0eb3dfc 100644 --- a/rust-simplelog.spec +++ b/rust-simplelog.spec @@ -1,16 +1,13 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate simplelog Name: rust-%{crate} -Version: 0.7.4 -Release: 2%{?dist} +Version: 0.7.5 +Release: 1%{?dist} Summary: Simple and easy-to-use logging facility for Rust's log crate -# Initial patched metadata -# - Avoid wildcards in dependencies. -Patch0: simplelog-fix-metadata.diff # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -25,7 +22,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -A simple and easy-to-use logging facility for Rust's log crate.} +Simple and easy-to-use logging facility for Rust's log crate.} %description %{_description} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license LICENSE.MIT LICENSE.APACHE2 %doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +50,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+term-devel Summary: %{summary} @@ -65,7 +62,19 @@ This package contains library source intended for building other packages which use "term" feature of "%{crate}" crate. %files -n %{name}+term-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+test-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+test-devel %{_description} + +This package contains library source intended for building other packages +which use "test" feature of "%{crate}" crate. + +%files -n %{name}+test-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -86,6 +95,9 @@ which use "term" feature of "%{crate}" crate. %endif %changelog +* Sun Mar 29 09:51:06 CEST 2020 Igor Raits - 0.7.5-1 +- Update to 0.7.5 + * Thu Jan 30 2020 Fedora Release Engineering - 0.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/simplelog-fix-metadata.diff b/simplelog-fix-metadata.diff deleted file mode 100644 index ab324e9..0000000 --- a/simplelog-fix-metadata.diff +++ /dev/null @@ -1,15 +0,0 @@ ---- simplelog-0.7.4/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ simplelog-0.7.4/Cargo.toml 2019-11-23T01:58:04.213457+00:00 -@@ -23,10 +23,10 @@ - license = "MIT OR Apache-2.0" - repository = "https://github.com/drakulix/simplelog.rs" - [dependencies.chrono] --version = "0.4.*" -+version = "0.4" - - [dependencies.log] --version = "0.4.*" -+version = "0.4" - features = ["std"] - - [dependencies.term] diff --git a/sources b/sources index 7a06f4c..18c60b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (simplelog-0.7.4.crate) = 033c1d102d7d9deea6798c7a82264e06d5466c9105c01f878bc2937f15171c06419daca8b285f65b5ccea5eb84713342fcab4b62350c6749ea62357d6d7cc962 +SHA512 (simplelog-0.7.5.crate) = f10f4e8fba9402d5f692a4b923fa0bc9604dcc891a013e79ed7acffe88eeb5f72c9770372ff1ee8b59023bab521bb0d25bdf97acb7fadde3cf87289dc501cf48