public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-aiohttp] rawhide: Use pyproject long options
@ 2026-08-24  6:41 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-24  6:41 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-aiohttp
            Branch : rawhide
            Commit : c6645a634b6a3370ff4f5ae03b880eeb286b238f
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-20T10:20:47+01:00
            Stats  : +7/-4 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-aiohttp/c/c6645a634b6a3370ff4f5ae03b880eeb286b238f?branch=rawhide

            Log:
            Use pyproject long options

[skip changelog]

---
diff --git a/python-aiohttp.spec b/python-aiohttp.spec
index 1611698..8385ab4 100644
--- a/python-aiohttp.spec
+++ b/python-aiohttp.spec
@@ -37,7 +37,7 @@ Recommends:     python3-aiohttp+speedups
 
 %description -n python3-aiohttp %{common_description}
 
-%pyproject_extras_subpkg -n python3-aiohttp speedups
+%pyproject_extras_subpkg --name python3-aiohttp speedups
 
 
 %prep
@@ -112,16 +112,19 @@ export AIOHTTP_USE_SYSTEM_DEPS=1
 
 %install
 %pyproject_install
-%pyproject_save_files -l aiohttp
+%pyproject_save_files --assert-license aiohttp
 
 
 %check
 %if %{without tests}
 # - aiohttp.worker requires gunicorn (a test dependency)
 # - aiohttp.pytest_plugin requires pytest (a test dependency)
-%{pyproject_check_import -e aiohttp.worker -e aiohttp.pytest_plugin}
+%{pyproject_check_import %{shrink:
+    --exclude aiohttp.worker
+    --exclude aiohttp.pytest_plugin
+    }}
 %else
-%{pyproject_check_import %{?!with_gunicorn:-e aiohttp.worker}}
+%{pyproject_check_import %{?!with_gunicorn:--exclude aiohttp.worker}}
 
 # Fixes problems importing compiled extensions from subprocesses.
 export PYTHONSAFEPATH=1

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

only message in thread, other threads:[~2026-08-24  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-24  6:41 [rpms/python-aiohttp] rawhide: Use pyproject long options Benjamin A. Beasley

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