diff --git a/.gitignore b/.gitignore index e05210c..5e2ed4d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pretty_env_logger-0.1.1.crate /pretty_env_logger-0.2.0.crate /pretty_env_logger-0.2.1.crate +/pretty_env_logger-0.2.2.crate diff --git a/pretty_env_logger-0.2.1-fix-metadata.diff b/pretty_env_logger-0.2.1-fix-metadata.diff deleted file mode 100644 index 371da4a..0000000 --- a/pretty_env_logger-0.2.1-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- pretty_env_logger-0.2.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ pretty_env_logger-0.2.1/Cargo.toml 2018-02-08T19:39:27.506681+01:00 -@@ -18,7 +18,7 @@ - license = "MIT/Apache-2.0" - repository = "https://github.com/seanmonstar/pretty-env-logger" - [dependencies.ansi_term] --version = "0.9" -+version = "0.10" - - [dependencies.env_logger] - version = "0.5" diff --git a/pretty_env_logger-0.2.2-fix-metadata.diff b/pretty_env_logger-0.2.2-fix-metadata.diff new file mode 100644 index 0000000..665b8f0 --- /dev/null +++ b/pretty_env_logger-0.2.2-fix-metadata.diff @@ -0,0 +1,10 @@ +--- pretty_env_logger-0.2.2/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ pretty_env_logger-0.2.2/Cargo.toml 2018-02-08T21:29:34.100981+01:00 +@@ -26,7 +26,5 @@ + + [dependencies.log] + version = "0.4" +-[target."cfg(all(windows, target_arch = \"x86\"))".dependencies.ansi_term] +-version = "0.9" + [target."cfg(not(all(windows, target_arch = \"x86\")))".dependencies.ansi_term] + version = "0.10" diff --git a/rust-pretty_env_logger.spec b/rust-pretty_env_logger.spec index 7c3a27b..346a942 100644 --- a/rust-pretty_env_logger.spec +++ b/rust-pretty_env_logger.spec @@ -5,7 +5,7 @@ %global crate pretty_env_logger Name: rust-%{crate} -Version: 0.2.1 +Version: 0.2.2 Release: 1%{?dist} Summary: Visually pretty env_logger @@ -13,8 +13,8 @@ License: MIT or ASL 2.0 URL: https://crates.io/crates/pretty_env_logger Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * Re-bump ansi_term to 0.10, https://github.com/seanmonstar/pretty-env-logger/issues/12 -Patch0: pretty_env_logger-0.2.1-fix-metadata.diff +# * No windows +Patch0: pretty_env_logger-0.2.2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -58,6 +58,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Thu Feb 08 2018 Igor Gnatenko - 0.2.2-1 +- Update to 0.2.2 + * Thu Feb 08 2018 Igor Gnatenko - 0.2.1-1 - Update to 0.2.1 diff --git a/sources b/sources index 1b46654..63bde82 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pretty_env_logger-0.2.1.crate) = 7bc9d50492416110c0f3d53ee9211bdb22aa8cc91d49669e64677c70042e243214ceb5ff30240fe4c1109a7b30acc897e91ed285201b8d267797e6296d535545 +SHA512 (pretty_env_logger-0.2.2.crate) = 2fb98f8c7bb0c1558e36750a950255bcf9a9be4020f440100e37453d1e767f3c0ccc078a71e30c4036d15772613c41bb755320f569263f1be68e987a87cbd2cb