From e042b0da2d4effdbf0a61480d8f6252f4ae4706f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 10 Oct 2023 11:37:34 +0200 Subject: [PATCH] Update to version 0.100.3 --- .gitignore | 1 + rust-rustls-webpki.spec | 9 ++++----- rust2rpm.conf | 6 ------ rust2rpm.toml | 12 ++++++++++++ rustls-webpki-fix-metadata.diff | 4 ++-- sources | 2 +- 6 files changed, 20 insertions(+), 14 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 7c16bb3..693fe76 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rustls-webpki-0.100.1.crate /rustls-webpki-0.100.2.crate +/rustls-webpki-0.100.3.crate diff --git a/rust-rustls-webpki.spec b/rust-rustls-webpki.spec index 3e4c367..bb92ad4 100644 --- a/rust-rustls-webpki.spec +++ b/rust-rustls-webpki.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * missing dev-dependencies: rcgen ^0.11.1 %bcond_with check %global debug_package %{nil} @@ -9,11 +9,10 @@ %global supported_arches x86_64 %{ix86} aarch64 %{arm} Name: rust-rustls-webpki -Version: 0.100.2 +Version: 0.100.3 Release: %autorelease Summary: Web PKI X.509 Certificate Verification -# Upstream license specification: None # * rustls-webpki itself is licensed under the terms of the ISC license # * third-party data from chromium is licensed under a 3-Clause-BSD license, # but it is only used for integration tests and not included in RPM packages @@ -26,7 +25,7 @@ Source: %{crates_source} # https://github.com/rustls/webpki/pull/102 Patch: rustls-webpki-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Web PKI X.509 Certificate Verification.} @@ -87,7 +86,7 @@ use the "std" 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 # drop tests which require files that are not included in published crates rm tests/integration.rs 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..93fd6c5 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,12 @@ +[package] +supported-arches = [ + "x86_64", + "%{ix86}", + "aarch64", + "%{arm}", +] + +[tests] +run = ["none"] +comments = ["missing dev-dependencies: rcgen ^0.11.1"] + diff --git a/rustls-webpki-fix-metadata.diff b/rustls-webpki-fix-metadata.diff index aeacdf7..0756ad8 100644 --- a/rustls-webpki-fix-metadata.diff +++ b/rustls-webpki-fix-metadata.diff @@ -1,5 +1,5 @@ ---- rustls-webpki-0.100.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ rustls-webpki-0.100.2/Cargo.toml 2023-08-23T08:47:20.834571+00:00 +--- rustls-webpki-0.100.3/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rustls-webpki-0.100.3/Cargo.toml 2023-10-10T09:34:41.893429+00:00 @@ -55,7 +55,7 @@ "cryptography", "no-std", diff --git a/sources b/sources index 9fe4794..8c92827 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustls-webpki-0.100.2.crate) = 2b67d962b0d9a0a912f05424d384fad51e4645d482d8333e9b7522097390204502fbbcdf25e2b045d2a9a25da15ec3d1177a64439d32f97b4c9cabad84c64461 +SHA512 (rustls-webpki-0.100.3.crate) = 0f9a321a0004691fbede43c0c7d8ea5ef97c36db755f78342aec4465dc1b476cd071338cc09543e03e49ab134a57e855bcd15854344ba95d3375a99bac25b090