## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 12; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 26 %bcond_without check %global crate tokei Name: rust-tokei Version: 12.1.2 Release: %autorelease Summary: Count your code, quickly # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/tokei Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump git2 dependency from 0.13 to 0.19 # * remove reference to readme file that is not included in published crates Patch: tokei-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Count your code, quickly.} %description %{_description} %package -n %{crate} Summary: %{summary} # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # BSD-3-Clause # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %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 %{_description} 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 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %{cargo_license_summary -a} %{cargo_license -a} > LICENSE.dependencies %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Tue Oct 29 2024 Fabio Valentini - 12.1.2-12 - Bump git2 dependency from 0.18 to 0.19 * Sat Sep 14 2024 Fabio Valentini - 12.1.2-11 - Remove reference to readme file that is not included in published crates * Sat Jul 20 2024 Fedora Release Engineering - 12.1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 12.1.2-9 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Tue Feb 13 2024 Fabio Valentini - 12.1.2-8 - Bump git2 dev-dependency from 0.13 to 0.18 * Sat Jan 27 2024 Fedora Release Engineering - 12.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 22 2023 Fabio Valentini - 12.1.2-6 - Convert license tag for binary subpackage to SPDX * Sat Jul 22 2023 Fedora Release Engineering - 12.1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 28 2023 Fabio Valentini - 12.1.2-4 - Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2 * Sat Jan 21 2023 Fedora Release Engineering - 12.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 27 2022 Fabio Valentini - 12.1.2-2 - Fix typo * Wed Jul 27 2022 Fabio Valentini - 12.1.2-1 - Update to version 12.1.2; Fixes RHBZ#1910441 * Sat Jul 23 2022 Fedora Release Engineering - 12.0.4-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 12.0.4-12 - Rebuild with package notes * Tue Jan 25 2022 Fabio Valentini - 12.0.4-11 - Disable doctests. They are a never ending source of obscure rustc problems. * Tue Jan 25 2022 Fabio Valentini - 12.0.4-10 - Work around doctest failures caused by codegen issues with LLVM 12. * Tue Jan 25 2022 Fabio Valentini - 12.0.4-9 - Rebuild with thread_local 1.1.4 for RUSTSEC-2022-0006. * Fri Jan 21 2022 Fedora Release Engineering - 12.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Aug 07 2021 Fabio Valentini - 12.0.4-7 - Rebuild with crossbeam-deque 0.8.1 / 0.7.4 for CVE-2021-32810 * Thu Jul 29 2021 Josh Stone - 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 - 12.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 12.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 13:33:42 CET 2020 Igor Raits - 12.1.0-2 - Rebuild * Sun Dec 27 14:12:53 CET 2020 Igor Raits - 12.1.0-1 - Update to 12.1.0 * Fri Sep 11 2020 Josh Stone - 12.0.4-5 - Bump to parking_lot 0.11 * Sun Aug 16 15:01:53 GMT 2020 Igor Raits - 12.0.4-4 - Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 12.0.4-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 12.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 12.0.4-1 - Update to 12.0.4 * Sat Jun 06 2020 Josh Stone - 11.2.1-1 - Update to 11.2.1 * Wed May 20 07:37:56 CEST 2020 Igor Raits - 11.2.0-1 - Update to 11.2.0 * Wed May 06 2020 Josh Stone - 11.1.1-1 - Update to 11.1.1 * Sun Apr 19 11:57:45 CEST 2020 Igor Raits - 11.1.0-1 - Update to 11.1.0 * Sat Mar 21 17:14:07 CET 2020 Igor Raits - 11.0.0-1 - Update to 11.0.0 * Thu Mar 19 11:06:08 CET 2020 Igor Raits - 10.1.2-3 - Update git2 to 0.13 * Tue Mar 03 2020 Josh Stone - 10.1.2-2 - Bump git2 to 0.12 * Thu Feb 13 2020 Josh Stone - 10.1.2-1 - Update to 10.1.2 * Thu Jan 30 2020 Fedora Release Engineering - 10.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 15 2020 Josh Stone - 10.1.1-1 - Update to 10.1.1 * Wed Dec 25 11:00:37 CET 2019 Igor Gnatenko - 10.1.0-2 - Update git2 to 0.11 * Tue Nov 19 09:33:39 CET 2019 Igor Gnatenko - 10.1.0-1 - Update to 10.1.0 * Fri Jul 26 2019 Fedora Release Engineering - 10.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 06 11:20:58 CEST 2019 Igor Gnatenko - 10.0.1-1 - Update to 10.0.1 * Wed Jun 19 12:33:03 CEST 2019 Igor Gnatenko - 10.0.0-1 - Update to 10.0.0 * Fri Jun 07 2019 Josh Stone - 9.1.1-2 - Bump git2 to 0.9 * Sat Mar 30 14:59:32 CET 2019 Igor Gnatenko - 9.1.1-1 - Update to 9.1.1 * Thu Mar 21 09:59:47 CET 2019 Igor Gnatenko - 9.1.0-1 - Update to 9.1.0 * Sat Feb 02 2019 Fedora Release Engineering - 9.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Josh Stone - 9.0.0-1 - Update to 9.0.0 * Sat Nov 10 2018 Igor Gnatenko - 8.0.1-2 - Adapt to new packaging * Sat Sep 08 2018 Igor Gnatenko - 8.0.1-1 - Update to 8.0.1 * Wed Jul 18 2018 Igor Gnatenko - 7.0.3-4 - Bump handlebars to 1 * Sat Jul 14 2018 Fedora Release Engineering - 7.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 22 2018 Igor Gnatenko - 7.0.3-2 - Update to new macro * Thu Jun 14 2018 Igor Gnatenko - 7.0.3-1 - Update to 7.0.3 * Wed Feb 21 2018 Igor Gnatenko - 7.0.1-6 - Rebuild for passing %%__cargo_common_opts bug * Tue Feb 20 2018 Igor Gnatenko - 7.0.1-5 - Bump rayon to 1 * Mon Feb 12 2018 Igor Gnatenko - 7.0.1-4 - Bump ignore to 0.4 * Sat Feb 10 2018 Igor Gnatenko - 7.0.1-3 - Bump handlebars to 0.31 * Fri Feb 09 2018 Fedora Release Engineering - 7.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 22 2018 Igor Gnatenko - 7.0.1-1 - Update to 7.0.1 * Fri Jan 19 2018 Igor Gnatenko - 7.0.0-3 - Rebuild for env_logger 0.5.2 * Thu Jan 18 2018 Igor Gnatenko - 7.0.0-2 - Rebuild for env_logger 0.5.1 * Wed Jan 17 2018 Igor Gnatenko - 7.0.0-1 - Update to 7.0.0 * Mon Jan 08 2018 Igor Gnatenko - 6.1.2-8 - Rebuild for rust-packaging v5 * Tue Jan 02 2018 Igor Gnatenko - 6.1.2-7 - Bump serde_cbor to 0.8 * Thu Nov 30 2017 Igor Gnatenko - 6.1.2-6 - Bump lazy_static to 1 * Tue Nov 28 2017 Igor Gnatenko - 6.1.2-5 - Rebuild for clap 2.28.0 * Sat Nov 18 2017 Igor Gnatenko - 6.1.2-4 - Rebuild for rust-hex 0.3 * Wed Nov 15 2017 Igor Gnatenko - 6.1.2-3 - Rebuild for dependency change * Wed Nov 15 2017 Igor Gnatenko - 6.1.2-2 - Enable all feauteres * Tue Nov 14 2017 Igor Gnatenko - 6.1.2-1 - Initial package ## END: Generated by rpmautospec