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-pydantic-extra-types] f44: Use pyproject long options
Date: Mon, 17 Aug 2026 12:42:36 GMT	[thread overview]
Message-ID: <178697055641.1.14108364917394512878.rpms-python-pydantic-extra-types-8515e2cdae87@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-pydantic-extra-types
            Branch : f44
            Commit : 8515e2cdae879f9aecdedd9b55a5815603381148
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-17T12:54:35+01:00
            Stats  : +16/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pydantic-extra-types/c/8515e2cdae879f9aecdedd9b55a5815603381148?branch=f44

            Log:
            Use pyproject long options

[skip changelog]

---
diff --git a/python-pydantic-extra-types.spec b/python-pydantic-extra-types.spec
index 1ab05f3..b801b8b 100644
--- a/python-pydantic-extra-types.spec
+++ b/python-pydantic-extra-types.spec
@@ -84,13 +84,13 @@ tomcli set pyproject.toml lists delitem --type regex --no-first \
 
 %generate_buildrequires
 %{pyproject_buildrequires %{shrink:
-    %{?all_extra:-x all}
-    %{?with_phonenumbers:-x phonenumbers}
-    %{?with_pycountry:-x pycountry}
-    -x semver
-    -x python_ulid
-    %{?with_pendulum:-x pendulum}
-    %{?with_cron:-x cron}
+    %{?all_extra:--extras all}
+    %{?with_phonenumbers:--extras phonenumbers}
+    %{?with_pycountry:--extras pycountry}
+    --extras semver
+    --extras python_ulid
+    %{?with_pendulum:--extras pendulum}
+    %{?with_cron:--extras cron}
     }}
 
 
@@ -100,19 +100,19 @@ tomcli set pyproject.toml lists delitem --type regex --no-first \
 
 %install
 %pyproject_install
-%pyproject_save_files -l pydantic_extra_types
+%pyproject_save_files --assert-license pydantic_extra_types
 
 
 %check
 %{pyproject_check_import %{shrink:
-    %{?!with_cron:-e pydantic_extra_types.cron}
-    %{?!with_pendulum:-e pydantic_extra_types.pendulum_dt}
-    %{?!with_phonenumbers:-e pydantic_extra_types.phone_numbers}
-    %{?!with_pycountry:-e pydantic_extra_types.country}
-    %{?!with_pycountry:-e pydantic_extra_types.currency_code}
-    %{?!with_pycountry:-e pydantic_extra_types.language_code}
-    %{?!with_pycountry:-e pydantic_extra_types.script_code}
-    %{?!with_pymongo:-e pydantic_extra_types.mongo_object_id}
+    %{?!with_cron:--exclude pydantic_extra_types.cron}
+    %{?!with_pendulum:--exclude pydantic_extra_types.pendulum_dt}
+    %{?!with_phonenumbers:--exclude pydantic_extra_types.phone_numbers}
+    %{?!with_pycountry:--exclude pydantic_extra_types.country}
+    %{?!with_pycountry:--exclude pydantic_extra_types.currency_code}
+    %{?!with_pycountry:--exclude pydantic_extra_types.language_code}
+    %{?!with_pycountry:--exclude pydantic_extra_types.script_code}
+    %{?!with_pymongo:--exclude pydantic_extra_types.mongo_object_id}
     %{nil}}}
 
 %if %{with tests}

                 reply	other threads:[~2026-08-17 12:42 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=178697055641.1.14108364917394512878.rpms-python-pydantic-extra-types-8515e2cdae87@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