## START: Set by rpmautospec ## (rpmautospec version 0.2.5) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec # Generated by rust2rpm 20 %bcond_without check %global crate lsd Name: rust-%{crate} Version: 0.20.1 Release: %autorelease Summary: Ls command with a lot of pretty colors and some other stuff # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: https://crates.io/crates/lsd Source: %{crates_source} # Initial patched metadata # * drop windows-only dependencies # * normalize weird glob-style dependencies to SemVer compatible format # * bump assert_cmd from 1 to 2 # * bump chrono-humanize from 0.1 to 0.2 Patch0: lsd-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Ls command with a lot of pretty colors and some other stuff.} %description %{_description} %package -n %{crate} Summary: %{summary} # * ASL 2.0 # * ASL 2.0 or Boost # * ASL 2.0 or MIT # * MIT # * MIT or ASL 2.0 # * Unlicense or MIT License: ASL 2.0 and MIT %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %doc doc README.md CHANGELOG.md %{_bindir}/lsd %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Tue Jan 25 2022 Fabio Valentini 0.20.1-8 - Rebuild with thread_local 1.1.4 for RUSTSEC-2022-0006 * Fri Jan 21 2022 Fedora Release Engineering 0.20.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Jan 09 2022 Fabio Valentini 0.20.1-6 - Bump chrono-humanize from 0.1 to 0.2 * Sun Jan 09 2022 Fabio Valentini 0.20.1-5 - Normalize weird glob-style dependencies to SemVer compatible format * Sun Nov 14 2021 Robert-André Mauchin 0.20.1-4 - Bump assert_cmd to 2 * Fri Jul 23 2021 Fedora Release Engineering - 0.20.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Mar 17 17:29:11 CET 2021 Robert-André Mauchin - 0.20.1-1 - Update to 0.20.1 - Close: rhbz#1907129 - Fix: rhbz#1923272 * Wed Jan 27 2021 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Sep 16 2020 Fabio Valentini - 0.18.0-1 - Update to version 0.18.0. * Sun Aug 16 15:01:36 GMT 2020 Igor Raits - 0.17.0-4 - Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.17.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Apr 16 11:50:02 CEST 2020 Igor Raits - 0.17.0-1 - Update to 0.17.0 * Sun Feb 02 19:00:30 CET 2020 Robert-André Mauchin - 0.16.0-3 - Bump ansi_term to 0.12.0 - Bump lscolors to 0.6.0 - Bump version_check to 0.9.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Aug 03 14:25:20 CEST 2019 Igor Gnatenko - 0.16.0-1 - Update to 0.16.0 * Fri Jul 26 2019 Fedora Release Engineering - 0.15.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jul 20 21:21:46 CEST 2019 Igor Gnatenko - 0.15.1-4 - Regenerate * Sun Jun 09 21:55:03 CEST 2019 Igor Gnatenko - 0.15.1-3 - Switch to tempfile * Sun Jun 09 19:54:30 CEST 2019 Igor Gnatenko - 0.15.1-2 - Regenerate * Thu May 30 17:04:56 CEST 2019 Robert-André Mauchin - 0.15.1-1 - Release 0.15.1 (#1713354) * Thu Apr 25 2019 Robert-André Mauchin - 0.14.0-1 - Initial package