Initial import (strip-ansi-escapes 0.1 compat package)

epel9 imports/e9/rust-strip-ansi-escapes0.1-0.1.1-1.el9
Fabio Valentini 1 year ago
parent ceb2923865
commit e5b9b0a02d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/strip-ansi-escapes-0.1.1.crate

@ -1,3 +0,0 @@
# rust-strip-ansi-escapes0.1
The rust-strip-ansi-escapes0.1 package

@ -0,0 +1,73 @@
# Generated by rust2rpm 25
%bcond_without check
%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
# * bump vte dependency from 0.10 to 0.11
Patch: strip-ansi-escapes-fix-metadata.diff
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
%autochangelog

@ -0,0 +1 @@
SHA512 (strip-ansi-escapes-0.1.1.crate) = ebcddc0af68f7263726d8f9dc3825819ea75389bc6f97f97f0238b17a06e0596f1562ddcf065178940e4f1963bf7a2b99eb02ec124f9f633b2fab1b443bb5717

@ -0,0 +1,8 @@
--- strip-ansi-escapes-0.1.1/Cargo.toml 1970-01-01T00:00:00+00:00
+++ strip-ansi-escapes-0.1.1/Cargo.toml 2023-10-14T19:59:57.585218+00:00
@@ -22,4 +22,4 @@
license = "Apache-2.0/MIT"
repository = "https://github.com/luser/strip-ansi-escapes"
[dependencies.vte]
-version = "0.10"
+version = "0.11"
Loading…
Cancel
Save