Update to 0.7.4

epel9
Josh Stone 5 years ago
parent 17b3959e36
commit 806819d00f

1
.gitignore vendored

@ -1,2 +1,3 @@
/simplelog-0.5.2.crate
/simplelog-0.5.3.crate
/simplelog-0.7.4.crate

@ -1,29 +1,31 @@
# Generated by rust2rpm
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate simplelog
Name: rust-%{crate}
Version: 0.5.3
Release: 4%{?dist}
Version: 0.7.4
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
URL: https://crates.io/crates/simplelog
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(chrono/default) >= 0.4.1 with crate(chrono/default) < 0.5.0)
BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0)
BuildRequires: (crate(log/std) >= 0.4.1 with crate(log/std) < 0.5.0)
BuildRequires: (crate(term/default) >= 0.5.1 with crate(term/default) < 0.6.0)
%global _description \
A simple and easy-to-use logging facility for Rust's log crate.
%global _description %{expand:
A simple and easy-to-use logging facility for Rust's log crate.}
%description %{_description}
@ -66,9 +68,12 @@ which use "term" feature of "%{crate}" crate.
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -81,6 +86,9 @@ which use "term" feature of "%{crate}" crate.
%endif
%changelog
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 0.7.4-1
- Update to 0.7.4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -0,0 +1,15 @@
--- 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]

@ -1 +1 @@
SHA512 (simplelog-0.5.3.crate) = 6f9c68b0245b31c34fdbb14a159cb2b05d3895027ab72280a9e347928c590c2d18387cfc3b575c2c5db38f93664687326d5aaeba0c0272c74fdfc4c96ea96b00
SHA512 (simplelog-0.7.4.crate) = 033c1d102d7d9deea6798c7a82264e06d5466c9105c01f878bc2937f15171c06419daca8b285f65b5ccea5eb84713342fcab4b62350c6749ea62357d6d7cc962

Loading…
Cancel
Save