diff --git a/.gitignore b/.gitignore index dc052ca..b6c2bc3 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /pretty_env_logger-0.2.4.crate /pretty_env_logger-0.2.5.crate /pretty_env_logger-0.3.0.crate +/pretty_env_logger-0.3.1.crate diff --git a/rust-pretty_env_logger.spec b/rust-pretty_env_logger.spec index 6dbcfb4..a2c0b03 100644 --- a/rust-pretty_env_logger.spec +++ b/rust-pretty_env_logger.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate pretty_env_logger Name: rust-%{crate} -Version: 0.3.0 -Release: 2%{?dist} +Version: 0.3.1 +Release: 1%{?dist} Summary: Visually pretty env_logger # Upstream license specification: MIT/Apache-2.0 @@ -15,14 +15,14 @@ URL: https://crates.io/crates/pretty_env_logger Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(chrono/default) >= 0.4.4 with crate(chrono/default) < 0.5.0) -BuildRequires: (crate(env_logger/default) >= 0.6.0 with crate(env_logger/default) < 0.7.0) -BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) -%global _description \ -A visually pretty env_logger. +%global _description %{expand: +Visually pretty env_logger.} %description %{_description} @@ -55,6 +55,9 @@ which use "default" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -67,6 +70,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Aug 18 16:07:29 CEST 2019 Igor Gnatenko - 0.3.1-1 +- Update to 0.3.1 + * Fri Jul 26 2019 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index b1ed692..41bd2ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pretty_env_logger-0.3.0.crate) = 9aa7cda6b21a6367c1d7f5a038f10fb1c6e493551f4a741c3c80ce373e5b3500c3269a80721eaa814696e55b3018c89eeecdd4bbc0254068a85ac811bc21a3e4 +SHA512 (pretty_env_logger-0.3.1.crate) = 692e514593b85a438b547b2ec1e1a1edf40422d016c1376d534157f53f7c06b371acb9a2bf2ecdc4f98e1aa4e2b3dbd0d24017a0cdd58db845921166c6de25f6