The package rpms/rust-hyper-rustls.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-hyper-rustls.git/commit/?id=....
Change:
-%ifarch %{supported_arches}
Thanks.
Full change:
============
commit 22ee65c9215eaf634a1cd699a617cbeb6d8ac715
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Oct 27 15:37:02 2023 +0200
Update to version 0.24.2; Fixes RHBZ#2246414
diff --git a/.gitignore b/.gitignore
index ba19f4a..0577594 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/hyper-rustls-0.23.2.crate
/hyper-rustls-0.24.0.crate
/hyper-rustls-0.24.1.crate
+/hyper-rustls-0.24.2.crate
diff --git a/hyper-rustls-fix-metadata.diff b/hyper-rustls-fix-metadata.diff
deleted file mode 100644
index 44ebbd5..0000000
--- a/hyper-rustls-fix-metadata.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- hyper-rustls-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ hyper-rustls-0.24.1/Cargo.toml 2023-10-25T14:10:56.431586+00:00
-@@ -20,6 +20,7 @@
- readme = "README.md"
- license = "Apache-2.0 OR ISC OR MIT"
- repository = "https://github.com/rustls/hyper-rustls"
-+exclude = ["/admin/"]
-
- [package.metadata.docs.rs]
- all-features = true
-@@ -75,7 +76,7 @@
- default-features = false
-
- [dependencies.webpki-roots]
--version = "0.23"
-+version = "0.25"
- optional = true
-
- [dev-dependencies.futures-util]
diff --git a/rust-hyper-rustls.spec b/rust-hyper-rustls.spec
index 2377868..70cab03 100644
--- a/rust-hyper-rustls.spec
+++ b/rust-hyper-rustls.spec
@@ -5,17 +5,13 @@
%global crate hyper-rustls
Name: rust-hyper-rustls
-Version: 0.24.1
+Version: 0.24.2
Release: %autorelease
Summary: Rustls+hyper integration for pure rust HTTPS
License: Apache-2.0 OR ISC OR MIT
URL:
https://crates.io/crates/hyper-rustls
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * bump webpki-roots dependency from 0.23 to 0.25
-# * exclude files that are only useful for upstream development
-Patch: hyper-rustls-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 01e5a1c..a641526 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -6,3 +6,4 @@ skip = [
]
skip-exact = true
comments = ["files needed by integration tests are not included in published
crates"]
+
diff --git a/sources b/sources
index 29b9562..2b62394 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hyper-rustls-0.24.1.crate) =
d2c2578eab446e542528d230174bf82c494e68274894e739b1065f343beb1354d4393bc601c2d2672edec4af08ae169e36f6ea83e7eb53784fb37223da1960ae
+SHA512 (hyper-rustls-0.24.2.crate) =
f30e83408376b985ee9df26728f8183a7048d4586c5fa3d797cc837931e13300018929583a087767bd19d4bd60d85ea1c2696601c236fb65be9a6805ef6fc193
commit 6764f1c45858cfb9f76b21dee88d837f49362a9d
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Oct 25 19:53:03 2023 +0200
Bump webpki-roots dependency from 0.23 to 0.25
diff --git a/hyper-rustls-fix-metadata.diff b/hyper-rustls-fix-metadata.diff
index 70d2c3d..44ebbd5 100644
--- a/hyper-rustls-fix-metadata.diff
+++ b/hyper-rustls-fix-metadata.diff
@@ -1,5 +1,5 @@
--- hyper-rustls-0.24.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ hyper-rustls-0.24.1/Cargo.toml 2023-07-15T14:23:47.774754+00:00
++++ hyper-rustls-0.24.1/Cargo.toml 2023-10-25T14:10:56.431586+00:00
@@ -20,6 +20,7 @@
readme = "README.md"
license = "Apache-2.0 OR ISC OR MIT"
@@ -8,3 +8,12 @@
[package.metadata.docs.rs]
all-features = true
+@@ -75,7 +76,7 @@
+ default-features = false
+
+ [dependencies.webpki-roots]
+-version = "0.23"
++version = "0.25"
+ optional = true
+
+ [dev-dependencies.futures-util]
diff --git a/rust-hyper-rustls.spec b/rust-hyper-rustls.spec
index c783ef7..2377868 100644
--- a/rust-hyper-rustls.spec
+++ b/rust-hyper-rustls.spec
@@ -1,12 +1,9 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate hyper-rustls
-# compile and run tests only on supported architectures
-%global supported_arches x86_64 %{ix86} aarch64 %{arm}
-
Name: rust-hyper-rustls
Version: 0.24.1
Release: %autorelease
@@ -16,10 +13,11 @@ License: Apache-2.0 OR ISC OR MIT
URL:
https://crates.io/crates/hyper-rustls
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
+# * bump webpki-roots dependency from 0.23 to 0.25
# * exclude files that are only useful for upstream development
Patch: hyper-rustls-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rustls+hyper integration for pure rust HTTPS.}
@@ -189,26 +187,22 @@ use the "webpki-tokio" 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
%cargo_generate_buildrequires
%build
-%ifarch %{supported_arches}
%cargo_build
-%endif
%install
%cargo_install
%if %{with check}
-%ifarch %{supported_arches}
%check
-# * files needed for integration tests are not included in published crates
-%cargo_test -- -- --skip client --skip custom_ca_store --skip server
-%endif
+# * files needed by integration tests are not included in published crates
+%cargo_test -- -- --exact --skip client --skip custom_ca_store --skip server
%endif
%changelog
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 53a9929..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-[DEFAULT]
-supported-arches =
- x86_64
- %{ix86}
- aarch64
- %{arm}
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..01e5a1c
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[tests]
+skip = [
+ "client",
+ "custom_ca_store",
+ "server",
+]
+skip-exact = true
+comments = ["files needed by integration tests are not included in published
crates"]