public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pydantic-extra-types] f43: Use `%{shrink:…}` in lieu of backslash-escaping
@ 2026-08-17 15:43 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-17 15:43 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

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

            Log:
            Use `%{shrink:…}` in lieu of backslash-escaping

[skip changelog]

---
diff --git a/python-pydantic-extra-types.spec b/python-pydantic-extra-types.spec
index 3b34da1..38cba8a 100644
--- a/python-pydantic-extra-types.spec
+++ b/python-pydantic-extra-types.spec
@@ -84,15 +84,15 @@ tomcli set pyproject.toml lists delitem --type regex --no-first \
 
 
 %generate_buildrequires
-%{pyproject_buildrequires \
-    %{?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} \
-    }
+%{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}
+    }}
 
 
 %build
@@ -105,16 +105,16 @@ tomcli set pyproject.toml lists delitem --type regex --no-first \
 
 
 %check
-%{pyproject_check_import \
-    %{?!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} \
-    %{nil}}
+%{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}
+    %{nil}}}
 
 %if %{with tests}
 %if %{without cron}

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 15:43 [rpms/python-pydantic-extra-types] f43: Use `%{shrink:…}` in lieu of backslash-escaping 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