Update to 1.4.0

epel10
Josh Stone 5 years ago
parent d3da284f00
commit 544879032c

1
.gitignore vendored

@ -1,3 +1,4 @@
/simple_logger-1.0.1.crate /simple_logger-1.0.1.crate
/simple_logger-1.2.0.crate /simple_logger-1.2.0.crate
/simple_logger-1.3.0.crate /simple_logger-1.3.0.crate
/simple_logger-1.4.0.crate

@ -1,18 +1,21 @@
# Generated by rust2rpm 9 # Generated by rust2rpm 13
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate simple_logger %global crate simple_logger
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.3.0 Version: 1.4.0
Release: 2%{?dist} Release: 1%{?dist}
Summary: Logger that prints all messages with a readable output format Summary: Logger that prints all messages with a readable output format
# Upstream license specification: MIT # Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/simple_logger URL: https://crates.io/crates/simple_logger
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * No windows
Patch0: simple_logger-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build} %if %{__cargo_skip_build}
@ -20,12 +23,6 @@ BuildArch: noarch
%endif %endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if ! %{__cargo_skip_build}
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)
%endif
%global _description %{expand: %global _description %{expand:
Logger that prints all messages with a readable output format.} Logger that prints all messages with a readable output format.}
@ -44,7 +41,7 @@ which use "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{cargo_registry}/%{crate}-%{version}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -56,7 +53,7 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+colored-devel %package -n %{name}+colored-devel
Summary: %{summary} Summary: %{summary}
@ -68,12 +65,15 @@ This package contains library source intended for building other packages
which use "colored" feature of "%{crate}" crate. which use "colored" feature of "%{crate}" crate.
%files -n %{name}+colored-devel %files -n %{name}+colored-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -86,6 +86,9 @@ which use "colored" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 1.4.0-1
- Update to 1.4.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -0,0 +1,12 @@
--- simple_logger-1.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ simple_logger-1.4.0/Cargo.toml 2020-01-15T06:50:38.850531+00:00
@@ -30,9 +30,3 @@
[features]
default = ["colored"]
-[target."cfg(windows)".dependencies.atty]
-version = "0.2.13"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["handleapi", "winbase"]

@ -1 +1 @@
SHA512 (simple_logger-1.3.0.crate) = 0bdef89a5fc1b93e1dfe0c31709eaf57a1e6562fa67e4190f4dcff4617d930bf1f4e8c480000cd97e5028dc6287612603b05ec9a7a1382c187a82544edd52b4d SHA512 (simple_logger-1.4.0.crate) = ecf37d33c66aa1d00a7d76395ca562fa0075f24675fe4778cb3adfcd86cbafb933126fa7f4ff49ba04a65cf0eb09f34189eaad4794d531a02cd7442c565e1491

Loading…
Cancel
Save