From 081ac374533e6f1ad70878031889865fbf70db79 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 12 May 2019 11:12:45 +0200 Subject: [PATCH] Update to 1.2.0 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + rust-simple_logger.spec | 23 ++++++++++++++++++++--- sources | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index bd020d8..6249f34 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /simple_logger-1.0.1.crate +/simple_logger-1.2.0.crate diff --git a/rust-simple_logger.spec b/rust-simple_logger.spec index add01c3..c819851 100644 --- a/rust-simple_logger.spec +++ b/rust-simple_logger.spec @@ -1,15 +1,15 @@ -# Generated by rust2rpm +# Generated by rust2rpm-9-1.fc31 %bcond_with check %global debug_package %{nil} %global crate simple_logger Name: rust-%{crate} -Version: 1.0.1 +Version: 1.2.0 Release: 1%{?dist} Summary: Logger that prints all messages with a readable output format -# https://github.com/borntyping/rust-simple_logger/issues/7 +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/simple_logger Source: %{crates_source} @@ -18,6 +18,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(chrono/default) >= 0.4.6 with crate(chrono/default) < 0.5.0) +BuildRequires: (crate(colored/default) >= 1.6.0 with crate(colored/default) < 2.0.0) BuildRequires: (crate(log/default) >= 0.4.5 with crate(log/default) < 0.5.0) BuildRequires: (crate(log/std) >= 0.4.5 with crate(log/std) < 0.5.0) @@ -36,6 +37,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%license LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version}/ @@ -51,6 +53,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+colored-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+colored-devel %{_description} + +This package contains library source intended for building other packages +which use "colored" feature of "%{crate}" crate. + +%files -n %{name}+colored-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -67,5 +81,8 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun May 12 11:11:57 CEST 2019 Igor Gnatenko - 1.2.0-1 +- Update to 1.2.0 + * Sat Apr 27 09:28:47 CEST 2019 Igor Gnatenko - 1.0.1-1 - Initial package diff --git a/sources b/sources index 50d6db1..e185527 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (simple_logger-1.0.1.crate) = 77bbb79800e441f313da2cac353535fb8bf042849318b8377b44b10ff50a64a148fd60707f9b83a042fa87b5b0dd1fe8c0d87f2577b6a60e3071cd45afd23bdd +SHA512 (simple_logger-1.2.0.crate) = e6b034e75f28ce641fb57e9572408fa179aa2230cfc744ee3605ddc9173a959be701bd9c7288949176211ecac42b8075d43193afdb1531441fa8b41f35da5e7e