The package rpms/rust-rustls-native-certs.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-rustls-native-certs.git/comm....
Change:
-%ifarch %{supported_arches}
Thanks.
Full change:
============
commit 5d97aafebe6750e07377e2f10788db839eab20fa
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Apr 19 22:39:31 2024 +0200
Update to version 0.7.0; Fixes RHBZ#2252660
diff --git a/.gitignore b/.gitignore
index 799020e..28576cf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/rustls-native-certs-0.5.0.crate
/rustls-native-certs-0.6.2.crate
/rustls-native-certs-0.6.3.crate
+/rustls-native-certs-0.7.0.crate
diff --git a/rust-rustls-native-certs.spec b/rust-rustls-native-certs.spec
index 4efca3c..64e5e6e 100644
--- a/rust-rustls-native-certs.spec
+++ b/rust-rustls-native-certs.spec
@@ -1,25 +1,22 @@
-# Generated by rust2rpm 24
-# * missing dev-dependency: x509-parser
+# Generated by rust2rpm 26
+# * outdated dev-dependencies: ring ^0.16
%bcond_with check
%global debug_package %{nil}
%global crate rustls-native-certs
-# compile and run tests only on supported architectures
-%global supported_arches x86_64 %{ix86} aarch64 %{arm}
-
Name: rust-rustls-native-certs
-Version: 0.6.3
+Version: 0.7.0
Release: %autorelease
-Summary: Allow rustls to use the platform native certificate store
+Summary: Allows rustls to use the platform native certificate store
License: Apache-2.0 OR ISC OR MIT
URL:
https://crates.io/crates/rustls-native-certs
Source: %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
Patch: rustls-native-certs-fix-metadata-auto.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Rustls-native-certs allows rustls to use the platform native certificate
@@ -59,26 +56,22 @@ use the "default" 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
%cargo_test
%endif
-%endif
%changelog
%autochangelog
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..c41b74b
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[tests]
+run = ["none"]
+comments = ["outdated dev-dependencies: ring ^0.16"]
+
diff --git a/rustls-native-certs-fix-metadata-auto.diff
b/rustls-native-certs-fix-metadata-auto.diff
index 421dae5..c20ade4 100644
--- a/rustls-native-certs-fix-metadata-auto.diff
+++ b/rustls-native-certs-fix-metadata-auto.diff
@@ -1,11 +1,11 @@
---- rustls-native-certs-0.6.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ rustls-native-certs-0.6.3/Cargo.toml 2023-07-15T14:12:24.879360+00:00
-@@ -51,8 +51,3 @@
+--- rustls-native-certs-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ rustls-native-certs-0.7.0/Cargo.toml 2024-04-19T20:27:38.548088+00:00
+@@ -55,8 +55,3 @@
[target."cfg(all(unix, not(target_os =
\"macos\")))".dependencies.openssl-probe]
version = "0.1.2"
-[target."cfg(target_os =
\"macos\")".dependencies.security-framework]
--version = "2.0.0"
+-version = "2"
-
-[target."cfg(windows)".dependencies.schannel]
-version = "0.1.15"
diff --git a/sources b/sources
index 2c6ade3..595caf1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rustls-native-certs-0.6.3.crate) =
53a3a4b96f05dd06c575b2eb62eb7b6d026bda539c87c0e2a4bc84fd332c6401a825135fecdda39c489b0c910ffbe4d42c93844fbdd8da4fc2badad400b27264
+SHA512 (rustls-native-certs-0.7.0.crate) =
458d3739be07082c7a519e536779b844669f54bcf74353fce307ba468de26ae42e41f26295df4139b81eea9a7c8b39a58fff0f1228e521d5daed761308ed3872