public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-systemd] rawhide: Use %pyproject_buildrequires
Date: Tue, 30 Jun 2026 09:13:06 GMT	[thread overview]
Message-ID: <178281078654.1.8999988356197441048.rpms-python-systemd-3cd17d87dda4@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-systemd
            Branch : rawhide
            Commit : 3cd17d87dda429a10062f2b96762f6b22d81ed6b
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-19T17:27:24-04:00
            Stats  : +5/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-systemd/c/3cd17d87dda429a10062f2b96762f6b22d81ed6b?branch=rawhide

            Log:
            Use %pyproject_buildrequires

pyproject macros are not supported without this, and on RHEL the
automatic installation of pyproject-rpm-macros depends on it.

---
diff --git a/python-systemd.spec b/python-systemd.spec
index 7bd89a0..1558fc5 100644
--- a/python-systemd.spec
+++ b/python-systemd.spec
@@ -11,11 +11,7 @@ BuildRequires:  meson
 BuildRequires:  gcc
 BuildRequires:  systemd-devel
 BuildRequires:  python3-devel
-BuildRequires:  python3-pip
-BuildRequires:  python3-meson-python
-BuildRequires:  python3-sphinx
 BuildRequires:  web-assets-devel
-BuildRequires:  python3-pytest
 
 %global _description %{expand:
 Python module for native access to the libsystemd facilities. Functionality
@@ -44,6 +40,11 @@ Requires:       js-jquery
 
 %prep
 %autosetup -p1
+# do not test coverage
+sed -i -e 's/"pytest-cov"//' pyproject.toml
+
+%generate_buildrequires
+%pyproject_buildrequires -R -g test,docs
 
 %build
 %pyproject_wheel -Csetup-args="-Ddocs=true"

                 reply	other threads:[~2026-06-30  9:13 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=178281078654.1.8999988356197441048.rpms-python-systemd-3cd17d87dda4@fedoraproject.org \
    --to=yselkowi@redhat.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