public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-systemd] rawhide: Use %pyproject_buildrequires
@ 2026-06-30  9:13 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-06-30  9:13 UTC (permalink / raw)
  To: git-commits

            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"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30  9:13 [rpms/python-systemd] rawhide: Use %pyproject_buildrequires Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox