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] f43: Use `%{shrink:…}` in lieu of backslash-escaping
Date: Mon, 17 Aug 2026 15:43:55 GMT [thread overview]
Message-ID: <178698143588.1.14501451522033384605.rpms-python-pydantic-extra-types-35155f91db85@fedoraproject.org> (raw)
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}
reply other threads:[~2026-08-17 15:43 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=178698143588.1.14501451522033384605.rpms-python-pydantic-extra-types-35155f91db85@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