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: Initial import (#2138445)
Date: Mon, 15 Jun 2026 12:50:28 GMT	[thread overview]
Message-ID: <178152782889.1.12957975885171968002.rpms-rust-sequoia-policy-config-a4fb974ccf29@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-sequoia-policy-config
Branch : epel10
Commit : a4fb974ccf29bdfbcc98d1dac46969715230a34d
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2022-11-14T16:50:26+01:00
Stats  : +98/-3 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-sequoia-policy-config/c/a4fb974ccf29bdfbcc98d1dac46969715230a34d?branch=epel10

Log:
Initial import (#2138445)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..af47e2f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/sequoia-policy-config-0.3.0.crate

diff --git a/README.md b/README.md
deleted file mode 100644
index 5d4d1fd..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sequoia-policy-config
-
-The rust-sequoia-policy-config package

diff --git a/rust-sequoia-policy-config.spec b/rust-sequoia-policy-config.spec
new file mode 100644
index 0000000..d0af75e
--- /dev/null
+++ b/rust-sequoia-policy-config.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 23
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate sequoia-policy-config
+
+Name:           rust-sequoia-policy-config
+Version:        0.3.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
+Patch:          sequoia-policy-config-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * default to the nettle crypto backend of sequoia-openpgp
+Patch:          sequoia-policy-config-fix-metadata.diff
+
+BuildRequires:  rust-packaging >= 21
+
+%global _description %{expand:
+Configure Sequoia using a configuration file.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files          devel
+%license %{crate_instdir}/LICENSE.txt
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog

diff --git a/sequoia-policy-config-fix-metadata-auto.diff b/sequoia-policy-config-fix-metadata-auto.diff
new file mode 100644
index 0000000..a18c939
--- /dev/null
+++ b/sequoia-policy-config-fix-metadata-auto.diff
@@ -0,0 +1,13 @@
+--- sequoia-policy-config-0.3.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-policy-config-0.3.0/Cargo.toml	1970-01-01T00:00:01+00:00
+@@ -55,10 +55,5 @@
+ features = ["crypto-nettle"]
+ default-features = false
+ 
+-[target."cfg(windows)".dev-dependencies.sequoia-openpgp]
+-version = "1"
+-features = ["crypto-cng"]
+-default-features = false
+-
+ [badges.maintenance]
+ status = "actively-developed"

diff --git a/sequoia-policy-config-fix-metadata.diff b/sequoia-policy-config-fix-metadata.diff
new file mode 100644
index 0000000..03482df
--- /dev/null
+++ b/sequoia-policy-config-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- sequoia-policy-config-0.3.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ sequoia-policy-config-0.3.0/Cargo.toml	2022-10-28T20:32:52.040456+00:00
+@@ -36,6 +36,7 @@
+ 
+ [dependencies.sequoia-openpgp]
+ version = "1"
++features = ["crypto-nettle"]
+ default-features = false
+ 
+ [dependencies.serde]

diff --git a/sources b/sources
new file mode 100644
index 0000000..9c1cdee
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sequoia-policy-config-0.3.0.crate) = 2b17805b9d85b1d4e816c85af33c8a7373cb2e18a166999aef186efd4a253712e4b8b7133e0bd55de5250d1cd9d317a9a5df3f7068a85aedadf92a58323b1b06

                 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=178152782889.1.12957975885171968002.rpms-rust-sequoia-policy-config-a4fb974ccf29@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