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/python-urllib3] f44: Use pyproject long options
Date: Sat, 19 Sep 2026 07:28:13 GMT	[thread overview]
Message-ID: <178980289320.1.3714498077176543400.rpms-python-urllib3-51f4742bcd28@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-urllib3
            Branch : f44
            Commit : 51f4742bcd288ef9f98c729a440651c9e37e005a
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-17T20:29:36+01:00
            Stats  : +7/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-urllib3/c/51f4742bcd288ef9f98c729a440651c9e37e005a?branch=f44

            Log:
            Use pyproject long options

[skip changelog]

---
diff --git a/python-urllib3.spec b/python-urllib3.spec
index 3cdc79a..a2e059f 100644
--- a/python-urllib3.spec
+++ b/python-urllib3.spec
@@ -149,7 +149,7 @@ tomcli set pyproject.toml lists replace --type regex_search \
 export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
 # Generate BR’s from packaged extras even when tests are disabled, to ensure
 # the extras metapackages are installable if the build succeeds.
-%pyproject_buildrequires %{?with_extradeps:-x brotli,zstd,socks,h2} %{?with_tests:-g dev}
+%pyproject_buildrequires %{?with_extradeps:--extras brotli,zstd,socks,h2} %{?with_tests:--dependency-groups dev}
 
 
 %build
@@ -160,7 +160,7 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
 %install
 %pyproject_install
 
-%pyproject_save_files -l urllib3
+%pyproject_save_files --assert-license urllib3
 
 
 %check
@@ -170,11 +170,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
 # urllib3.contrib.ntlmpool is deprecated and requires ntlm
 # urllib3.contrib.securetransport is macOS only
 # urllib3.contrib.pyopenssl requires pyOpenSSL
-%{pyproject_check_import %{!?with_extradeps:-e urllib3.contrib.socks -e urllib3.http2*}
-                         -e urllib3.contrib.emscripten*
-                         -e urllib3.contrib.ntlmpool
-                         -e urllib3.contrib.securetransport
-                         -e urllib3.contrib.pyopenssl}
+%{pyproject_check_import %{!?with_extradeps:-e urllib3.contrib.socks --exclude urllib3.http2*}
+                         --exclude urllib3.contrib.emscripten*
+                         --exclude urllib3.contrib.ntlmpool
+                         --exclude urllib3.contrib.securetransport
+                         --exclude urllib3.contrib.pyopenssl}
 
 # Increase the “long timeout” for slower environments; as of this writing, it
 # is increased from 0.1 to 0.5 second.

                 reply	other threads:[~2026-09-19  7:28 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=178980289320.1.3714498077176543400.rpms-python-urllib3-51f4742bcd28@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