## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; 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 debug_package %{nil} %global crate console Name: rust-%{crate} Version: 0.15.0 Release: %autorelease Summary: Terminal and console abstraction for Rust # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/console Source: %{crates_source} # Initial patched metadata # * drop windows-specific dependencies Patch0: console-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging %global _description %{expand: Terminal and console abstraction for Rust.} %description %{_description} %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 LICENSE %doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+ansi-parsing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ansi-parsing-devel %{_description} This package contains library source intended for building other packages which use the "ansi-parsing" feature of the "%{crate}" crate. %files -n %{name}+ansi-parsing-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+unicode-width-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-width-devel %{_description} This package contains library source intended for building other packages which use the "unicode-width" feature of the "%{crate}" crate. %files -n %{name}+unicode-width-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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 * Fri Jan 21 2022 Fedora Release Engineering 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 12 2022 Fabio Valentini 0.15.0-1 - Update to version 0.15.0; Fixes RHBZ#2014317 * Fri Jul 23 2021 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Mar 23 2021 Fabio Valentini - 0.14.1-1 - Update to version 0.14.1. - Fixes RHBZ#1938616 * Wed Jan 27 2021 Fedora Release Engineering - 0.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 17:45:33 CET 2021 Igor Raits - 0.14.0-1 - Update to 0.14.0 (Fixes: RHBZ#1910977) * Sun Oct 25 2020 Fabio Valentini - 0.13.0-1 - Update to version 0.13.0. * Wed Jul 29 2020 Fedora Release Engineering - 0.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 18 2020 Josh Stone - 0.11.3-1 - Update to 0.11.3 * Sat May 02 10:56:03 CEST 2020 Igor Raits - 0.11.2-1 - Update to 0.11.2 * Mon Apr 27 08:18:46 CEST 2020 Igor Raits - 0.10.1-1 - Update to 0.10.1 * Mon Mar 23 07:04:01 CET 2020 Igor Raits - 0.10.0-1 - Update to 0.10.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Josh Stone - 0.9.2-1 - Update to 0.9.2 * Fri Dec 06 17:31:03 CET 2019 Igor Gnatenko - 0.9.1-1 - Update to 0.9.1 * Fri Jul 26 2019 Fedora Release Engineering - 0.7.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 11:03:42 CEST 2019 Igor Gnatenko - 0.7.7-1 - Update to 0.7.7 * Tue Jun 18 23:43:14 CEST 2019 Igor Gnatenko - 0.7.6-1 - Update to 0.7.6 * Sun Jun 09 14:26:32 CEST 2019 Igor Gnatenko - 0.7.5-3 - Regenerate * Sat Feb 02 2019 Fedora Release Engineering - 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 28 2019 Igor Gnatenko - 0.7.5-1 - Update to 0.7.5 * Thu Dec 20 2018 Igor Gnatenko - 0.6.2-3 - Run tests in infrastructure * Sat Nov 03 2018 Igor Gnatenko - 0.6.2-2 - Adapt to new packaging * Tue Sep 11 2018 Josh Stone - 0.6.2-1 - Update to 0.6.2 * Mon Sep 03 2018 Igor Gnatenko - 0.6.1-1 - Initial package