The package rpms/rust-tendril.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-tendril.git/commit/?id=b8ff3....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0f0ee7e35c63be9b96521478a8fe0af3fcc71967
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jan 19 20:17:20 2024 +0100
Drop unused support for the obsolete "encoding" crate
diff --git a/rust-tendril.spec b/rust-tendril.spec
index 2de6929..589ad2d 100644
--- a/rust-tendril.spec
+++ b/rust-tendril.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
@@ -13,8 +13,11 @@ Summary: Compact buffer/string type for zero-copy parsing
License: MIT OR Apache-2.0
URL:
https://crates.io/crates/tendril
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused support for the obsolete "encoding" crate
+Patch: tendril-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Compact buffer/string type for zero-copy parsing.}
@@ -60,18 +63,6 @@ use the "bench" feature of the "%{crate}" crate.
%files -n %{name}+bench-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+encoding-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+encoding-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "encoding" feature of the "%{crate}" crate.
-
-%files -n %{name}+encoding-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%package -n %{name}+encoding_rs-devel
Summary: %{summary}
BuildArch: noarch
@@ -85,7 +76,7 @@ use the "encoding_rs" feature of the "%{crate}"
crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..cc50e03
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[tests]
+skip = ["assert_sizes"]
+comments = ["skip test for exact size of a struct / enum that fails with Rust 1.64+:
https://github.com/servo/tendril/issues/66"]
+
diff --git a/tendril-fix-metadata.diff b/tendril-fix-metadata.diff
new file mode 100644
index 0000000..e7dafe5
--- /dev/null
+++ b/tendril-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- tendril-0.4.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ tendril-0.4.3/Cargo.toml 2024-01-19T19:09:07.549735+00:00
+@@ -17,9 +17,6 @@
+ readme = "README.md"
+ license = "MIT/Apache-2.0"
+ repository = "https://github.com/servo/tendril"
+-[dependencies.encoding]
+-version = "0.2"
+-optional = true
+
+ [dependencies.encoding_rs]
+ version = "0.8.12"
commit b8ff3fa1e01ccb3d2903ece0331cfcbb0a267fae
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Aug 7 20:25:59 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md
deleted file mode 100644
index 40b52bd..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tendril
-
-The rust-tendril package
\ No newline at end of file
diff --git a/rust-tendril.spec b/rust-tendril.spec
index f1994c3..2de6929 100644
--- a/rust-tendril.spec
+++ b/rust-tendril.spec
@@ -1,21 +1,19 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate tendril
-Name: rust-%{crate}
+Name: rust-tendril
Version: 0.4.3
Release: %autorelease
Summary: Compact buffer/string type for zero-copy parsing
# Upstream license specification: MIT/Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/tendril
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
commit dc074badd3151d1e4d27d63702c1d71f7b7541aa
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 21 23:57:11 2023 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>