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

            A new commit has been pushed.

            Repo   : rpms/python-pydantic-extra-types
            Branch : rawhide
            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=rawhide

            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}

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

only message in thread, other threads:[~2026-08-17 12:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 12:26 [rpms/python-pydantic-extra-types] 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