The package rpms/rust-strip-ansi-escapes.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-strip-ansi-escapes.git/commi....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 304da5ad5c9d309d76d67f4122985018f1899394
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Aug 24 16:03:23 2023 -0500
Rebuilt for vte 0.11
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/rust-strip-ansi-escapes.spec b/rust-strip-ansi-escapes.spec
index 7b08450..fe494fa 100644
--- a/rust-strip-ansi-escapes.spec
+++ b/rust-strip-ansi-escapes.spec
@@ -13,6 +13,9 @@ Summary: Strip ANSI escape sequences from byte streams
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 from 0.10 to 0.11
+Patch: strip-ansi-escapes-fix-metadata.diff
BuildRequires: rust-packaging >= 21
diff --git a/strip-ansi-escapes-fix-metadata.diff b/strip-ansi-escapes-fix-metadata.diff
new file mode 100644
index 0000000..04528bc
--- /dev/null
+++ b/strip-ansi-escapes-fix-metadata.diff
@@ -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-08-24T21:02:37.335817+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"
commit d401991a14fec11b4407828f436fd99b18f9886a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 21 23:47:38 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 46e73cf8a16adc9c08f267dec58d21be8075391f
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Jun 7 22:46:33 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md
deleted file mode 100644
index 449bb74..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-strip-ansi-escapes
-
-The rust-strip-ansi-escapes package
\ No newline at end of file
diff --git a/rust-strip-ansi-escapes.spec b/rust-strip-ansi-escapes.spec
index 04a3d71..7b08450 100644
--- a/rust-strip-ansi-escapes.spec
+++ b/rust-strip-ansi-escapes.spec
@@ -1,25 +1,20 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate strip-ansi-escapes
-Name: rust-%{crate}
+Name: rust-strip-ansi-escapes
Version: 0.1.1
Release: %autorelease
Summary: Strip ANSI escape sequences from byte streams
# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL:
https://crates.io/crates/strip-ansi-escapes
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Strip ANSI escape sequences from byte streams.}
@@ -32,13 +27,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -46,11 +42,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+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
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1