## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 strip-ansi-escapes Name: rust-strip-ansi-escapes0.1 Version: 0.1.1 Release: %autorelease Summary: Strip ANSI escape sequences from byte streams # Upstream license specification: Apache-2.0/MIT License: Apache-2.0 OR MIT URL: https://crates.io/crates/strip-ansi-escapes Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Update vte from 0.10 to 0.15: # https://github.com/luser/strip-ansi-escapes/commit/59a139a30d927785c7c1c2d65c9fe71076b9be5a, # https://github.com/luser/strip-ansi-escapes/commit/a066e9e3b7347b4af5b5382027b691f4d36fe611, # https://github.com/luser/strip-ansi-escapes/commit/69f3e182c2679df16fef2634a1b891db2a4532e4, # https://github.com/luser/strip-ansi-escapes/pull/23 Patch: strip-ansi-escapes-fix-metadata.diff # * Backport source-code change for vte 0.14, part of # https://github.com/luser/strip-ansi-escapes/commit/69f3e182c2679df16fef2634a1b891db2a4532e4 Patch10: strip-ansi-escapes-0.1.1-vte-0.15.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Strip ANSI escape sequences from byte streams.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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 * Sat Oct 25 2025 Benjamin A. Beasley - 0.1.1-7 - Update vte to 0.15 * Fri Jul 25 2025 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 0.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Jul 20 2024 Fedora Release Engineering - 0.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jan 27 2024 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Dec 22 2023 Aleksei Bavshin - 0.1.1-2 - Rebuilt for vte 0.13 * Sat Oct 14 2023 Fabio Valentini - 0.1.1-1 - Initial import (strip-ansi-escapes 0.1 compat package) ## END: Generated by rpmautospec