Compare commits
52 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9acf7f6d5d | ||
|
1a7657a087 | ||
|
a48364719d | ||
|
c0d512986b | ||
|
0ac7157d22 | ||
|
1a3a2897ff | ||
|
48fbdfc037 | ||
|
b9161e1f09 | ||
|
9a9f7b6c5d | ||
|
2d8139bc30 | ||
|
8f2f4321a2 | ||
|
755faf9f57 | ||
|
75c71a6585 | ||
|
452da00369 | ||
|
75854d7056 | ||
|
165fe3bba9 | ||
|
6eb6df5cc8 | ||
|
6140b514c6 | ||
|
6070229e33 | ||
|
9478da5374 | ||
|
5e789649d2 | ||
|
21e9fd972b | ||
|
9685c25712 | ||
|
a503e82572 | ||
|
44cbb3dd11 | ||
|
601766dfe6 | ||
|
e51a1a7675 | ||
|
8a3df1768b | ||
|
cde86a45f1 | ||
|
84510b54d0 | ||
|
44fdd4756a | ||
|
64accea340 | ||
|
b672190390 | ||
|
19b8986d69 | ||
|
94d5ead159 | ||
|
d89b4577ef | ||
|
7ae7ec07b0 | ||
|
e125cfdc30 | ||
|
4102c2e2c0 | ||
|
f1dcc67389 | ||
|
eea5cd0403 | ||
|
0aaaf4ce8b | ||
|
e9d7caf6c1 | ||
|
4420c28b47 | ||
|
2e95a2f882 | ||
|
67b2f3853a | ||
|
5da4c2cda3 | ||
|
6c3644256b | ||
|
7064230382 | ||
|
3be3b67ace | ||
|
94f3e25804 | ||
|
12d8ba87ba |
18
.gitignore
vendored
18
.gitignore
vendored
@ -1,3 +1,21 @@
|
||||
/tokei-6.1.2.crate
|
||||
/tokei-7.0.0.crate
|
||||
/tokei-7.0.1.crate
|
||||
/tokei-7.0.3.crate
|
||||
/tokei-8.0.1.crate
|
||||
/tokei-9.0.0.crate
|
||||
/tokei-9.1.0.crate
|
||||
/tokei-9.1.1.crate
|
||||
/tokei-10.0.0.crate
|
||||
/tokei-10.0.1.crate
|
||||
/tokei-10.1.0.crate
|
||||
/tokei-10.1.1.crate
|
||||
/tokei-10.1.2.crate
|
||||
/tokei-11.0.0.crate
|
||||
/tokei-11.1.0.crate
|
||||
/tokei-11.1.1.crate
|
||||
/tokei-11.2.0.crate
|
||||
/tokei-11.2.1.crate
|
||||
/tokei-12.0.4.crate
|
||||
/tokei-12.1.0.crate
|
||||
/tokei-12.1.2.crate
|
||||
|
102
LICENSE.dependencies
Normal file
102
LICENSE.dependencies
Normal file
@ -0,0 +1,102 @@
|
||||
(ASL 2.0 or MIT) and BSD: rust-encoding_rs 0.8.31
|
||||
(MIT or ASL 2.0) and Public Domain: rust-chrono-tz 0.5.3
|
||||
ASL 2.0 or Boost: rust-ryu 1.0.10
|
||||
ASL 2.0 or MIT: rust-autocfg 1.1.0
|
||||
ASL 2.0 or MIT: rust-bytecount 0.6.3
|
||||
ASL 2.0 or MIT: rust-fnv 1.0.7
|
||||
ASL 2.0 or MIT: rust-indexmap 1.9.1
|
||||
ASL 2.0 or MIT: rust-parking_lot0.11 0.11.2
|
||||
ASL 2.0 or MIT: rust-parking_lot_core0.8 0.8.5
|
||||
ASL 2.0 or MIT: rust-thread_local 1.1.4
|
||||
BSD: rust-deunicode 1.3.1
|
||||
BSD: rust-instant 0.1.12
|
||||
MIT OR Apache-2.0: rust-term_size 0.3.2
|
||||
MIT or ASL 2.0: rust-arrayvec0.5 0.5.2
|
||||
MIT or ASL 2.0: rust-bitflags 1.3.2
|
||||
MIT or ASL 2.0: rust-bstr 0.2.17
|
||||
MIT or ASL 2.0: rust-cfg-if 1.0.0
|
||||
MIT or ASL 2.0: rust-chrono 0.4.19
|
||||
MIT or ASL 2.0: rust-crossbeam-channel 0.5.5
|
||||
MIT or ASL 2.0: rust-crossbeam-deque 0.8.1
|
||||
MIT or ASL 2.0: rust-crossbeam-epoch 0.9.9
|
||||
MIT or ASL 2.0: rust-crossbeam-utils 0.8.10
|
||||
MIT or ASL 2.0: rust-dirs-sys 0.3.7
|
||||
MIT or ASL 2.0: rust-dirs3 3.0.2
|
||||
MIT or ASL 2.0: rust-either 1.7.0
|
||||
MIT or ASL 2.0: rust-encoding_rs_io 0.1.7
|
||||
MIT or ASL 2.0: rust-env_logger0.8 0.8.4
|
||||
MIT or ASL 2.0: rust-getrandom 0.2.7
|
||||
MIT or ASL 2.0: rust-half 1.8.2
|
||||
MIT or ASL 2.0: rust-hashbrown 0.12.3
|
||||
MIT or ASL 2.0: rust-hex 0.4.3
|
||||
MIT or ASL 2.0: rust-humansize 1.1.1
|
||||
MIT or ASL 2.0: rust-humantime 2.1.0
|
||||
MIT or ASL 2.0: rust-itoa 1.0.2
|
||||
MIT or ASL 2.0: rust-itoa0.4 0.4.8
|
||||
MIT or ASL 2.0: rust-lazy_static 1.4.0
|
||||
MIT or ASL 2.0: rust-libc 0.2.126
|
||||
MIT or ASL 2.0: rust-linked-hash-map 0.5.6
|
||||
MIT or ASL 2.0: rust-lock_api 0.4.7
|
||||
MIT or ASL 2.0: rust-log 0.4.17
|
||||
MIT or ASL 2.0: rust-maplit 1.0.2
|
||||
MIT or ASL 2.0: rust-memmap2 0.5.5
|
||||
MIT or ASL 2.0: rust-num-format 0.4.0
|
||||
MIT or ASL 2.0: rust-num-integer 0.1.45
|
||||
MIT or ASL 2.0: rust-num-traits 0.2.15
|
||||
MIT or ASL 2.0: rust-num_cpus 1.13.1
|
||||
MIT or ASL 2.0: rust-once_cell 1.13.0
|
||||
MIT or ASL 2.0: rust-percent-encoding 2.1.0
|
||||
MIT or ASL 2.0: rust-pest 2.1.3
|
||||
MIT or ASL 2.0: rust-pest_derive 2.1.0
|
||||
MIT or ASL 2.0: rust-pest_generator 2.1.3
|
||||
MIT or ASL 2.0: rust-pest_meta 2.1.3
|
||||
MIT or ASL 2.0: rust-ppv-lite86 0.2.16
|
||||
MIT or ASL 2.0: rust-proc-macro2 1.0.40
|
||||
MIT or ASL 2.0: rust-quote 1.0.20
|
||||
MIT or ASL 2.0: rust-rand 0.8.5
|
||||
MIT or ASL 2.0: rust-rand_chacha 0.3.1
|
||||
MIT or ASL 2.0: rust-rand_core 0.6.3
|
||||
MIT or ASL 2.0: rust-rayon 1.5.3
|
||||
MIT or ASL 2.0: rust-rayon-core 1.9.3
|
||||
MIT or ASL 2.0: rust-regex 1.6.0
|
||||
MIT or ASL 2.0: rust-regex-syntax 0.6.27
|
||||
MIT or ASL 2.0: rust-scopeguard 1.1.0
|
||||
MIT or ASL 2.0: rust-serde 1.0.139
|
||||
MIT or ASL 2.0: rust-serde_cbor 0.11.2
|
||||
MIT or ASL 2.0: rust-serde_derive 1.0.139
|
||||
MIT or ASL 2.0: rust-serde_json 1.0.82
|
||||
MIT or ASL 2.0: rust-serde_yaml 0.8.25
|
||||
MIT or ASL 2.0: rust-slug 0.1.4
|
||||
MIT or ASL 2.0: rust-smallvec 1.9.0
|
||||
MIT or ASL 2.0: rust-syn 1.0.98
|
||||
MIT or ASL 2.0: rust-toml 0.5.9
|
||||
MIT or ASL 2.0: rust-ucd-trie 0.1.3
|
||||
MIT or ASL 2.0: rust-unic-char-property 0.9.0
|
||||
MIT or ASL 2.0: rust-unic-char-range 0.9.0
|
||||
MIT or ASL 2.0: rust-unic-common 0.9.0
|
||||
MIT or ASL 2.0: rust-unic-segment 0.9.0
|
||||
MIT or ASL 2.0: rust-unic-ucd-segment 0.9.0
|
||||
MIT or ASL 2.0: rust-unic-ucd-version 0.9.0
|
||||
MIT or ASL 2.0: rust-unicode-ident 1.0.1
|
||||
MIT or ASL 2.0: rust-unicode-width 0.1.9
|
||||
MIT or ASL 2.0: rust-vec_map 0.8.2
|
||||
MIT or ASL 2.0: rust-yaml-rust 0.4.5
|
||||
MIT: rust-ansi_term 0.12.1
|
||||
MIT: rust-atty 0.2.14
|
||||
MIT: rust-clap2 2.34.0
|
||||
MIT: rust-dashmap 4.0.2
|
||||
MIT: rust-globwalk 0.8.1
|
||||
MIT: rust-memoffset 0.6.5
|
||||
MIT: rust-parse-zoneinfo 0.3.0
|
||||
MIT: rust-strsim 0.10.0
|
||||
MIT: rust-tera 1.12.1
|
||||
MIT: rust-textwrap0.11 0.11.0
|
||||
Unlicense or MIT: rust-aho-corasick 0.7.18
|
||||
Unlicense or MIT: rust-globset 0.4.8
|
||||
Unlicense or MIT: rust-grep-matcher 0.1.5
|
||||
Unlicense or MIT: rust-grep-searcher 0.1.10
|
||||
Unlicense or MIT: rust-ignore 0.4.18
|
||||
Unlicense or MIT: rust-memchr 2.5.0
|
||||
Unlicense or MIT: rust-same-file 1.0.6
|
||||
Unlicense or MIT: rust-termcolor 1.1.3
|
||||
Unlicense or MIT: rust-walkdir 2.3.2
|
181
changelog
Normal file
181
changelog
Normal file
@ -0,0 +1,181 @@
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.4-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 12.0.4-12
|
||||
- Rebuild with package notes
|
||||
|
||||
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-11
|
||||
- Disable doctests. They are a never ending source of obscure rustc problems.
|
||||
|
||||
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-10
|
||||
- Work around doctest failures caused by codegen issues with LLVM 12.
|
||||
|
||||
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-9
|
||||
- Rebuild with thread_local 1.1.4 for RUSTSEC-2022-0006.
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sat Aug 07 2021 Fabio Valentini <decathorpe@gmail.com> - 12.0.4-7
|
||||
- Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810
|
||||
|
||||
* Thu Jul 29 2021 Josh Stone <jistone@redhat.com> - 12.0.4-6
|
||||
- Revert to 12.0.4 until crate(num-format) is available.
|
||||
- Bump to dashmap 4.0.1.
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Dec 28 13:33:42 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 12.1.0-2
|
||||
- Rebuild
|
||||
|
||||
* Sun Dec 27 14:12:53 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 12.1.0-1
|
||||
- Update to 12.1.0
|
||||
|
||||
* Fri Sep 11 2020 Josh Stone <jistone@redhat.com> - 12.0.4-5
|
||||
- Bump to parking_lot 0.11
|
||||
|
||||
* Sun Aug 16 15:01:53 GMT 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 12.0.4-4
|
||||
- Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.4-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 12.0.4-1
|
||||
- Update to 12.0.4
|
||||
|
||||
* Sat Jun 06 2020 Josh Stone <jistone@redhat.com> - 11.2.1-1
|
||||
- Update to 11.2.1
|
||||
|
||||
* Wed May 20 07:37:56 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.2.0-1
|
||||
- Update to 11.2.0
|
||||
|
||||
* Wed May 06 2020 Josh Stone <jistone@redhat.com> - 11.1.1-1
|
||||
- Update to 11.1.1
|
||||
|
||||
* Sun Apr 19 11:57:45 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.1.0-1
|
||||
- Update to 11.1.0
|
||||
|
||||
* Sat Mar 21 17:14:07 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 11.0.0-1
|
||||
- Update to 11.0.0
|
||||
|
||||
* Thu Mar 19 11:06:08 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 10.1.2-3
|
||||
- Update git2 to 0.13
|
||||
|
||||
* Tue Mar 03 2020 Josh Stone <jistone@redhat.com> - 10.1.2-2
|
||||
- Bump git2 to 0.12
|
||||
|
||||
* Thu Feb 13 2020 Josh Stone <jistone@redhat.com> - 10.1.2-1
|
||||
- Update to 10.1.2
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 10.1.1-1
|
||||
- Update to 10.1.1
|
||||
|
||||
* Wed Dec 25 11:00:37 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.1.0-2
|
||||
- Update git2 to 0.11
|
||||
|
||||
* Tue Nov 19 09:33:39 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.1.0-1
|
||||
- Update to 10.1.0
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Jul 06 11:20:58 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.0.1-1
|
||||
- Update to 10.0.1
|
||||
|
||||
* Wed Jun 19 12:33:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 10.0.0-1
|
||||
- Update to 10.0.0
|
||||
|
||||
* Fri Jun 07 2019 Josh Stone <jistone@redhat.com> - 9.1.1-2
|
||||
- Bump git2 to 0.9
|
||||
|
||||
* Sat Mar 30 14:59:32 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.1.1-1
|
||||
- Update to 9.1.1
|
||||
|
||||
* Thu Mar 21 09:59:47 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.1.0-1
|
||||
- Update to 9.1.0
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 14 2019 Josh Stone <jistone@redhat.com> - 9.0.0-1
|
||||
- Update to 9.0.0
|
||||
|
||||
* Sat Nov 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0.1-2
|
||||
- Adapt to new packaging
|
||||
|
||||
* Sat Sep 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 8.0.1-1
|
||||
- Update to 8.0.1
|
||||
|
||||
* Wed Jul 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-4
|
||||
- Bump handlebars to 1
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-2
|
||||
- Update to new macro
|
||||
|
||||
* Thu Jun 14 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.3-1
|
||||
- Update to 7.0.3
|
||||
|
||||
* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-6
|
||||
- Rebuild for passing %%__cargo_common_opts bug
|
||||
|
||||
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-5
|
||||
- Bump rayon to 1
|
||||
|
||||
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-4
|
||||
- Bump ignore to 0.4
|
||||
|
||||
* Sat Feb 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-3
|
||||
- Bump handlebars to 0.31
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-1
|
||||
- Update to 7.0.1
|
||||
|
||||
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-3
|
||||
- Rebuild for env_logger 0.5.2
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-2
|
||||
- Rebuild for env_logger 0.5.1
|
||||
|
||||
* Wed Jan 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-1
|
||||
- Update to 7.0.0
|
||||
|
||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-8
|
||||
- Rebuild for rust-packaging v5
|
||||
|
||||
* Tue Jan 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-7
|
||||
- Bump serde_cbor to 0.8
|
||||
|
||||
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-6
|
||||
- Bump lazy_static to 1
|
||||
|
||||
* Tue Nov 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-5
|
||||
- Rebuild for clap 2.28.0
|
||||
|
||||
* Sat Nov 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-4
|
||||
- Rebuild for rust-hex 0.3
|
||||
|
||||
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-3
|
||||
- Rebuild for dependency change
|
||||
|
||||
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-2
|
||||
- Enable all feauteres
|
||||
|
||||
* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-1
|
||||
- Initial package
|
246
rust-tokei.spec
246
rust-tokei.spec
@ -1,143 +1,169 @@
|
||||
# Generated by rust2rpm
|
||||
# Generated by rust2rpm 22
|
||||
%bcond_without check
|
||||
|
||||
%global __cargo_common_opts %{__cargo_common_opts} --features all
|
||||
|
||||
%global crate tokei
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 7.0.1
|
||||
Release: 6%{?dist}
|
||||
Summary: Utility that allows you to count code, quickly
|
||||
Name: rust-tokei
|
||||
Version: 12.1.2
|
||||
Release: %autorelease
|
||||
Summary: Count your code, quickly
|
||||
|
||||
License: MIT or ASL 2.0
|
||||
# Upstream license specification: MIT/Apache-2.0
|
||||
License: MIT OR Apache-2.0
|
||||
URL: https://crates.io/crates/tokei
|
||||
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
||||
# Initial patched metadata
|
||||
# * Bump handlebars to 0.31, https://github.com/Aaronepower/tokei/pull/187
|
||||
# * Bump ignore to 0.4, https://github.com/Aaronepower/tokei/pull/188
|
||||
# * Bump rayon to 1, https://github.com/Aaronepower/tokei/pull/192
|
||||
Patch0: tokei-7.0.1-fix-metadata.diff
|
||||
Source0: %{crates_source}
|
||||
Source1: LICENSE.dependencies
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
# [dependencies]
|
||||
BuildRequires: (crate(clap) >= 2.24.0 with crate(clap) < 3.0.0)
|
||||
BuildRequires: (crate(encoding) >= 0.2.0 with crate(encoding) < 0.3.0)
|
||||
BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0)
|
||||
BuildRequires: (crate(hex) >= 0.3.0 with crate(hex) < 0.4.0)
|
||||
BuildRequires: (crate(ignore) >= 0.4.0 with crate(ignore) < 0.5.0)
|
||||
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
|
||||
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
|
||||
BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
|
||||
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
||||
BuildRequires: (crate(serde_cbor) >= 0.8.0 with crate(serde_cbor) < 0.9.0)
|
||||
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
||||
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
|
||||
BuildRequires: (crate(serde_yaml) >= 0.7.0 with crate(serde_yaml) < 0.8.0)
|
||||
BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0)
|
||||
# [build-dependencies]
|
||||
BuildRequires: (crate(handlebars) >= 0.31.0 with crate(handlebars) < 0.32.0)
|
||||
BuildRequires: (crate(ignore) >= 0.4.0 with crate(ignore) < 0.5.0)
|
||||
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
||||
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
|
||||
%if %{with check}
|
||||
# [dev-dependencies]
|
||||
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
||||
BuildRequires: (crate(tempdir) >= 0.3.0 with crate(tempdir) < 0.4.0)
|
||||
%endif
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
%global _description %{expand:
|
||||
Count your code, quickly.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
# * (ASL 2.0 or MIT) and BSD
|
||||
# * (MIT or ASL 2.0) and Public Domain
|
||||
# * ASL 2.0 or Boost
|
||||
# * ASL 2.0 or MIT
|
||||
# * BSD
|
||||
# * MIT
|
||||
# * MIT or ASL 2.0
|
||||
# * Unlicense or MIT
|
||||
License: MIT and BSD and (ASL 2.0 or Boost) and Public Domain
|
||||
# LICENSE.dependencies contains a full license breakdown
|
||||
|
||||
%description -n %{crate}
|
||||
A utility that allows you to count code, quickly.
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENCE-APACHE
|
||||
%license LICENCE-MIT
|
||||
%license LICENSE.dependencies
|
||||
%{_bindir}/tokei
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel
|
||||
A simple, effcient library for counting code in directories.
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use %{crate} from crates.io.
|
||||
This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license %{crate_instdir}/LICENCE-APACHE
|
||||
%license %{crate_instdir}/LICENCE-MIT
|
||||
%{crate_instdir}/
|
||||
|
||||
%package -n %{name}+default-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+default-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "default" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+all-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+all-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "all" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+all-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+cbor-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+cbor-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "cbor" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+cbor-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+hex-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+hex-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "hex" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+hex-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+serde_cbor-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde_cbor-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "serde_cbor" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde_cbor-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+serde_yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+serde_yaml-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "serde_yaml" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+serde_yaml-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+yaml-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "yaml" feature of the "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+yaml-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
cp %{SOURCE1} .
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires -a
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%cargo_build -a
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
%cargo_install -a
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
# * doctest failures caused by codegen issues with LLVM 12 on i686:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2020861
|
||||
# * doctest failures caused by rustc crashes with LLVM 13 on armv7hl:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2045116
|
||||
%cargo_test -a -- --lib
|
||||
%endif
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENCE-MIT LICENCE-APACHE
|
||||
%{_bindir}/tokei
|
||||
|
||||
%files devel
|
||||
%license LICENCE-MIT LICENCE-APACHE
|
||||
%{cargo_registry}/%{crate}-%{version}/
|
||||
|
||||
%changelog
|
||||
* Wed Feb 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-6
|
||||
- Rebuild for passing %%__cargo_common_opts bug
|
||||
|
||||
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-5
|
||||
- Bump rayon to 1
|
||||
|
||||
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-4
|
||||
- Bump ignore to 0.4
|
||||
|
||||
* Sat Feb 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-3
|
||||
- Bump handlebars to 0.31
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-1
|
||||
- Update to 7.0.1
|
||||
|
||||
* Fri Jan 19 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-3
|
||||
- Rebuild for env_logger 0.5.2
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-2
|
||||
- Rebuild for env_logger 0.5.1
|
||||
|
||||
* Wed Jan 17 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.0-1
|
||||
- Update to 7.0.0
|
||||
|
||||
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-8
|
||||
- Rebuild for rust-packaging v5
|
||||
|
||||
* Tue Jan 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-7
|
||||
- Bump serde_cbor to 0.8
|
||||
|
||||
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-6
|
||||
- Bump lazy_static to 1
|
||||
|
||||
* Tue Nov 28 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-5
|
||||
- Rebuild for clap 2.28.0
|
||||
|
||||
* Sat Nov 18 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-4
|
||||
- Rebuild for rust-hex 0.3
|
||||
|
||||
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-3
|
||||
- Rebuild for dependency change
|
||||
|
||||
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-2
|
||||
- Enable all feauteres
|
||||
|
||||
* Tue Nov 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.1.2-1
|
||||
- Initial package
|
||||
%autochangelog
|
||||
|
2
rust2rpm.conf
Normal file
2
rust2rpm.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[DEFAULT]
|
||||
all-features = true
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (tokei-7.0.1.crate) = f929104df1f9cdd7e7ec87e1e7cf28df3348b51db1a4f01decaf4b6ded47356224d6b57607e24f08be9e333bacef64118547fae040437aa8b5cb47cddcc51636
|
||||
SHA512 (tokei-12.1.2.crate) = b242f706230ed9b7c8cefa504f0067d3dd91b7aeadba0322d7c4ed79766e377273ff3c9183966a57ac40a6aa5903157b7b78e1acd778ba0326035c0667347024
|
||||
|
@ -1,31 +0,0 @@
|
||||
--- tokei-7.0.1/Cargo.toml 1970-01-01T01:00:00+01:00
|
||||
+++ tokei-7.0.1/Cargo.toml 2018-02-20T08:10:18.530638+01:00
|
||||
@@ -41,13 +41,13 @@
|
||||
optional = true
|
||||
|
||||
[dependencies.ignore]
|
||||
-version = "0.3"
|
||||
+version = "0.4"
|
||||
|
||||
[dependencies.log]
|
||||
version = "0.4"
|
||||
|
||||
[dependencies.rayon]
|
||||
-version = "0.9"
|
||||
+version = "1"
|
||||
|
||||
[dependencies.regex]
|
||||
version = "0.2"
|
||||
@@ -81,10 +81,10 @@
|
||||
[dev-dependencies.tempdir]
|
||||
version = "0.3"
|
||||
[build-dependencies.handlebars]
|
||||
-version = "0.29"
|
||||
+version = "0.31"
|
||||
|
||||
[build-dependencies.ignore]
|
||||
-version = "0.3"
|
||||
+version = "0.4"
|
||||
|
||||
[build-dependencies.lazy_static]
|
||||
version = "1"
|
Loading…
Reference in New Issue
Block a user