## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 9; 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 25 %bcond_without check %global crate silver Name: rust-silver Version: 2.0.1 Release: %autorelease Summary: Cross-shell customizable powerline-like prompt with icons License: MIT URL: https://crates.io/crates/silver Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: silver-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * relax clap and clap_derive dependencies from "=3.0.0-beta.2" to "3" # * bump git2 dependency from 0.13 to 0.18 # * bump rust-ini dependency from 0.15 to 0.17 # * bump sysinfo dependency from 0.15 to 0.23 # * port from users 0.10 to uzers 0.11 Patch: silver-fix-metadata.diff # * port to clap 3 Patch: 0001-port-to-clap-3.patch # * port to sysinfo 0.23 Patch: 0002-port-to-sysinfo-0.23.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A cross-shell customizable powerline-like prompt with icons.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND MIT # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR X11 OR Apache-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: MIT AND BSD-3-Clause AND GPL-2.0-only WITH GCC-exception-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR X11 OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license license %license LICENSE.dependencies %doc readme.md %{_bindir}/silver %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jul 20 2024 Fedora Release Engineering - 2.0.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 2.0.1-8 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Tue Feb 13 2024 Fabio Valentini - 2.0.1-7 - Rebuild for CVE-2024-24575 and CVE-2024-24577 in libgit2 * Sat Jan 27 2024 Fedora Release Engineering - 2.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 28 2023 Fabio Valentini - 2.0.1-4 - Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2 * Sat Jan 21 2023 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Dec 09 2022 Pete Walter - 2.0.1-2 - Rebuild for libgit2 1.4 * Wed Jul 27 2022 Fabio Valentini - 2.0.1-1 - Update to version 2.0.1; Fixes RHBZ#1931700 * Sat Jul 23 2022 Fedora Release Engineering - 1.1.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 1.1.0-20 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 1.1.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 28 2021 Igor Raits - 1.1.0-18 - Rebuild for libgit2 1.3.x * Tue Sep 14 2021 Sahana Prasad - 1.1.0-17 - Rebuilt with OpenSSL 3.0.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu May 27 2021 Fabio Valentini - 1.1.0-15 - Bump to rust-ini 0.17. * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 29 14:21:55 CET 2020 Igor Raits - 1.1.0-13 - Rebuild against libgit2 1.1.x * Mon Dec 28 13:32:34 CET 2020 Igor Raits - 1.1.0-12 - Rebuild * Mon Nov 23 2020 Fabio Valentini - 1.1.0-11 - Bump to rust-ini 0.16. * Tue Sep 29 2020 Fabio Valentini - 1.1.0-10 - Port to rust-ini 0.15. * Sun Aug 16 15:01:43 GMT 2020 Igor Raits - 1.1.0-9 - Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 22 11:37:37 CEST 2020 Igor Raits - 1.1.0-7 - Update users to 0.10 * Wed Apr 15 2020 Igor Raits - 1.1.0-6 - Rebuild for libgit2 1.0.0 * Thu Mar 19 11:11:28 CET 2020 Igor Raits - 1.1.0-5 - Update git2 to 0.13 * Tue Mar 03 2020 Josh Stone - 1.1.0-4 - Bump to git2 0.12 - Bump to hostname 0.3 - Bump to humantime 2 * Sun Feb 02 20:23:45 CET 2020 Robert-André Mauchin - 1.1.0-3 - Bump git2 to 0.11 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Sep 12 08:25:53 CEST 2019 Igor Gnatenko - 1.1.0-1 - Update to 1.1.0 * Sun Sep 01 20:42:10 CEST 2019 Igor Gnatenko - 1.0.8-1 - Update to 1.0.8 * Sun Jul 28 15:47:34 CEST 2019 Igor Gnatenko - 1.0.7-4 - Regenerate * Fri Jul 26 2019 Fedora Release Engineering - 1.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jun 07 2019 Josh Stone - 1.0.7-2 - Bump git2 to 0.9 * Thu May 09 2019 Josh Stone - 1.0.7-1 - Update to 1.0.7 * Fri Apr 26 20:18:32 CEST 2019 Robert-André Mauchin - 1.0.5-1 - Initial package ## END: Generated by rpmautospec