public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sequoia-policy-config] epel10: Update to version 0.7.0; Fixes RHBZ#2311950
Date: Mon, 15 Jun 2026 12:50:35 GMT [thread overview]
Message-ID: <178152783531.1.17900183404870352613.rpms-rust-sequoia-policy-config-44c0721955ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-sequoia-policy-config
Branch : epel10
Commit : 44c0721955ea98a257c27a91e0f8470238b26e63
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-12-06T12:02:29+01:00
Stats : +45/-25 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-policy-config/c/44c0721955ea98a257c27a91e0f8470238b26e63?branch=epel10
Log:
Update to version 0.7.0; Fixes RHBZ#2311950
---
diff --git a/.gitignore b/.gitignore
index 853075c..23852a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/sequoia-policy-config-0.4.0.crate
/sequoia-policy-config-0.5.0.crate
/sequoia-policy-config-0.6.0.crate
+/sequoia-policy-config-0.7.0.crate
diff --git a/rust-sequoia-policy-config.spec b/rust-sequoia-policy-config.spec
index 2a32e6e..031e621 100644
--- a/rust-sequoia-policy-config.spec
+++ b/rust-sequoia-policy-config.spec
@@ -1,23 +1,22 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
%global crate sequoia-policy-config
Name: rust-sequoia-policy-config
-Version: 0.6.0
+Version: 0.7.0
Release: %autorelease
Summary: Configure Sequoia using a configuration file
License: LGPL-2.0-or-later
URL: https://crates.io/crates/sequoia-policy-config
Source: %{crates_source}
-# Automatically generated patch to strip foreign dependencies
+# Automatically generated patch to strip dependencies and normalize metadata
Patch: sequoia-policy-config-fix-metadata-auto.diff
# Manually created patch for downstream crate metadata changes
-# * expose features for crypto backends without setting a default
Patch: sequoia-policy-config-fix-metadata.diff
-BuildRequires: rust-packaging >= 23
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Configure Sequoia using a configuration file.}
@@ -97,8 +96,20 @@ use the "crypto-openssl" feature of the "%{crate}" crate.
%files -n %{name}+crypto-openssl-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+crypto-rust-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+crypto-rust-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "crypto-rust" feature of the "%{crate}" crate.
+
+%files -n %{name}+crypto-rust-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
@@ -106,7 +117,7 @@ use the "crypto-openssl" feature of the "%{crate}" crate.
%build
%cargo_build -f crypto-openssl
-%cargo_license_summary -f crypto-openssl
+%{cargo_license_summary -f crypto-openssl}
%{cargo_license -f crypto-openssl} > LICENSE.dependencies
%install
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 3d6fb3b..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-[DEFAULT]
-enabled-features =
- crypto-openssl
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..c3147d7
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,3 @@
+[features]
+enable = ["crypto-openssl"]
+
diff --git a/sequoia-policy-config-fix-metadata-auto.diff b/sequoia-policy-config-fix-metadata-auto.diff
index 116c018..a37907d 100644
--- a/sequoia-policy-config-fix-metadata-auto.diff
+++ b/sequoia-policy-config-fix-metadata-auto.diff
@@ -1,13 +1,17 @@
---- sequoia-policy-config-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-policy-config-0.6.0/Cargo.toml 2023-04-14T14:25:27.053943+00:00
-@@ -67,10 +67,5 @@
- features = ["crypto-nettle"]
+--- sequoia-policy-config-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-policy-config-0.7.0/Cargo.toml 2024-12-06T10:56:19.351272+00:00
+@@ -79,13 +79,6 @@
+ ]
default-features = false
-[target."cfg(windows)".dev-dependencies.sequoia-openpgp]
--version = "1.11"
--features = ["crypto-cng"]
+-version = "1.17"
+-features = [
+- "crypto-cng",
+- "__implicit-crypto-backend-for-tests",
+-]
-default-features = false
-
[badges.maintenance]
status = "actively-developed"
++
diff --git a/sequoia-policy-config-fix-metadata.diff b/sequoia-policy-config-fix-metadata.diff
index c718d82..e3f85a8 100644
--- a/sequoia-policy-config-fix-metadata.diff
+++ b/sequoia-policy-config-fix-metadata.diff
@@ -1,16 +1,20 @@
---- sequoia-policy-config-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ sequoia-policy-config-0.6.0/Cargo.toml 2023-04-14T14:26:00.154080+00:00
-@@ -62,10 +62,9 @@
- [dev-dependencies.lazy_static]
- version = "1.4.0"
+--- sequoia-policy-config-0.7.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ sequoia-policy-config-0.7.0/Cargo.toml 2024-12-06T10:56:24.917296+00:00
+@@ -71,13 +71,10 @@
+ version = "1"
+ default-features = false
-[target."cfg(not(windows))".dev-dependencies.sequoia-openpgp]
--version = "1.11"
--features = ["crypto-nettle"]
+-version = "1.17"
+-features = [
+- "crypto-nettle",
+- "__implicit-crypto-backend-for-tests",
+-]
-default-features = false
+[features]
+crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
+crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
++crypto-rust = ["sequoia-openpgp/crypto-rust"]
[badges.maintenance]
status = "actively-developed"
diff --git a/sources b/sources
index d4fc003..9f68c46 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sequoia-policy-config-0.6.0.crate) = 499d350426f80627278310b2eded6a69a7ad833058129ea5ed9ebd0255621ff70f9f04228fc8ca79830e6ec11d14b121bb3e5a6c5fc2721135d725bdf0d886ee
+SHA512 (sequoia-policy-config-0.7.0.crate) = 24db46b8d47877bb533f2379db104464e78492305e2d7c0b058a1fefe5408ddb744a8a84ec239d750d9dc12166e79a49595e096e9d3cc24989455571b7c4e0f3
reply other threads:[~2026-06-15 12:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178152783531.1.17900183404870352613.rpms-rust-sequoia-policy-config-44c0721955ea@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox