## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 %bcond check 1 %global debug_package %{nil} %global crate is-terminal Name: rust-is-terminal Version: 0.4.16 Release: %autorelease Summary: Test whether a given stream is a terminal License: MIT URL: https://crates.io/crates/is-terminal Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: is-terminal-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Test whether a given stream is a terminal.} %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 %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT-atty %doc %{crate_instdir}/README.md %{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 %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Mar 07 2025 Fabio Valentini - 0.4.16-1 - Update to version 0.4.16; Fixes RHBZ#2350547 * Sun Feb 16 2025 Fabio Valentini - 0.4.15-1 - Update to version 0.4.15; Fixes RHBZ#2339387 * Sun Jan 19 2025 Fedora Release Engineering - 0.4.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Sep 17 2024 Fabio Valentini - 0.4.13-1 - Update to version 0.4.13; Fixes RHBZ#2304997 * Fri Jul 19 2024 Fedora Release Engineering - 0.4.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Feb 14 2024 Fabio Valentini - 0.4.12-1 - Update to version 0.4.12; Fixes RHBZ#2263451 * Fri Jan 26 2024 Fedora Release Engineering - 0.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 31 2023 Fabio Valentini - 0.4.10-1 - Update to version 0.4.10; Fixes RHBZ#2256115 * Sun Sep 17 2023 Fabio Valentini - 0.4.9-1 - Update to version 0.4.9; Fixes RHBZ#2218702 * Fri Jul 21 2023 Fedora Release Engineering - 0.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Apr 10 2023 Fabio Valentini - 0.4.7-1 - Update to version 0.4.7; Fixes RHBZ#2182618 * Sun Mar 26 2023 Fabio Valentini - 0.4.5-1 - Update to version 0.4.5; Fixes RHBZ#2179555 * Thu Mar 16 2023 Fabio Valentini - 0.4.4-1 - Update to version 0.4.4; Fixes RHBZ#2172904 * Tue Feb 21 2023 Fabio Valentini - 0.4.3-1 - Update to version 0.4.3 * Tue Feb 21 2023 Tomas Hrcka - 0.1.0-3 - Unretirement request: https://pagure.io/releng/issue/11300 * Sat Jul 23 2022 Fedora Release Engineering - 0.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu May 05 2022 Fabio Valentini - 0.1.0-1 - Initial import (#2076615) ## END: Generated by rpmautospec