Revert to 12.0.4 until crate(num-format) is available.

This commit is contained in:
Josh Stone 2021-07-29 10:35:32 -07:00
parent 75854d7056
commit 452da00369
3 changed files with 20 additions and 3 deletions

View File

@ -4,14 +4,17 @@
%global crate tokei
Name: rust-%{crate}
Version: 12.1.0
Release: 4%{?dist}
Version: 12.0.4
Release: 6%{?dist}
Summary: Utility that allows you to count code, quickly
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/tokei
Source: %{crates_source}
# Initial patched metadata
# * Bump to parking_lot 0.11, https://github.com/XAMPPRocky/tokei/pull/575
Patch0: tokei-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -159,6 +162,9 @@ which use "yaml" feature of "%{crate}" crate.
%endif
%changelog
* Thu Jul 29 2021 Josh Stone <jistone@redhat.com> - 12.0.4-6
- Revert to 12.0.4 until crate(num-format) is available.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (tokei-12.1.0.crate) = 5ec66f5a44e461004b4480590d6336a232bae60bc00d2875ec378db73ef15aa773d7cca912789ad6b0c216e95af3769fca2062c68431722e42151ee4714fb383
SHA512 (tokei-12.0.4.crate) = 2ae4acbf1238faddc494602f19b08c413eb5dab73fba9bc244aa9acdcda215221245f99a5556fcddbd127c4faffb23d4338e18ed3258231abd209908f051b744

11
tokei-fix-metadata.diff Normal file
View File

@ -0,0 +1,11 @@
--- tokei-12.0.4/Cargo.toml 2020-06-24T12:03:47+00:00
+++ tokei-12.0.4/Cargo.toml 2020-09-11T22:58:34.504385+00:00
@@ -67,7 +67,7 @@
version = "1.4.0"
[dependencies.parking_lot]
-version = "0.10.2"
+version = "0.11.0"
[dependencies.rayon]
version = "1.3.1"