public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-sev] update-8.0.0: Port to rust2rpm.toml
Date: Fri, 23 Oct 2026 19:05:37 GMT	[thread overview]
Message-ID: <179278233776.1.17509494804247213130.rpms-rust-sev-2fa3ced33ba6@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-sev
            Branch : update-8.0.0
            Commit : 2fa3ced33ba6af523f4937509c87729aa6021bfd
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2024-11-19T10:35:03-05:00
            Stats  : +8/-40 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-sev/c/2fa3ced33ba6af523f4937509c87729aa6021bfd?branch=update-8.0.0

            Log:
            Port to rust2rpm.toml

- Actually hide features for testing particular hardware
- Hide the crypto_nossl feature, which would require the x509-cert
  crate; fixes RHBZ#2310742

---
diff --git a/rust-sev.spec b/rust-sev.spec
index f14b850..19eefe3 100644
--- a/rust-sev.spec
+++ b/rust-sev.spec
@@ -50,42 +50,6 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+crypto_nossl-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+crypto_nossl-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "crypto_nossl" feature of the "%{crate}" crate.
-
-%files       -n %{name}+crypto_nossl-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+dangerous_hw_tests-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+dangerous_hw_tests-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "dangerous_hw_tests" feature of the "%{crate}" crate.
-
-%files       -n %{name}+dangerous_hw_tests-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+hw_tests-devel
-Summary:        %{summary}
-BuildArch:      noarch
-
-%description -n %{name}+hw_tests-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "hw_tests" feature of the "%{crate}" crate.
-
-%files       -n %{name}+hw_tests-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %package     -n %{name}+openssl-devel
 Summary:        %{summary}
 BuildArch:      noarch

diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 48c45eb..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-[DEFAULT]
-unwanted-features =
-  hw_tests
-  dangerous_hw_tests

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..635ba23
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[features]
+hide = [
+    # These features require particular hardware:
+    "hw_tests",
+    "dangerous_hw_tests",
+    # Requires the x509-cert crate, which is not currently packaged:
+    "crypto_nossl",
+]

                 reply	other threads:[~2026-10-23 19:05 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=179278233776.1.17509494804247213130.rpms-rust-sev-2fa3ced33ba6@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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