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/pythoncapi-compat] rawhide: Use various long options
Date: Sun, 11 Oct 2026 06:46:10 GMT	[thread overview]
Message-ID: <179170117072.1.4829282890263326589.rpms-pythoncapi-compat-046e0e0a7683@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/pythoncapi-compat
Branch : rawhide
Commit : 046e0e0a7683d1846f984d272def937140cd2b83
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-10-11T07:45:03+01:00
Stats  : +9/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pythoncapi-compat/c/046e0e0a7683d1846f984d272def937140cd2b83?branch=rawhide

Log:
Use various long options

---
diff --git a/pythoncapi-compat.spec b/pythoncapi-compat.spec
index 62e7ab1..649b06e 100644
--- a/pythoncapi-compat.spec
+++ b/pythoncapi-compat.spec
@@ -64,9 +64,11 @@ BuildArch:      noarch
 
 %prep
 %autosetup -n pythoncapi-compat-%{commit}
+
 # Compiling with -Werror makes sense for upstream CI, but is probably too
 # brittle for downstream builds.
-sed -r -i "s/^([[:blank:]]*)(['\"]-Werror)/\1# \2/" tests/setup.py
+sed --regexp-extended --in-place "s/^([[:blank:]]*)(['\"]-Werror)/\1# \2/" \
+    tests/setup.py
 
 
 %generate_buildrequires
@@ -78,9 +80,12 @@ sed -r -i "s/^([[:blank:]]*)(['\"]-Werror)/\1# \2/" tests/setup.py
 
 
 %install
-install -t '%{buildroot}%{_includedir}' -D -p -m 0644 pythoncapi_compat.h
-install -D -p -t '%{buildroot}%{_bindir}' upgrade_pythoncapi.py
-install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
+install -D --preserve-timestamps --mode=0644 \
+    --target='%{buildroot}%{_includedir}' pythoncapi_compat.h
+install -D --preserve-timestamps \
+    --target='%{buildroot}%{_bindir}' upgrade_pythoncapi.py
+install -D --preserve-timestamps --mode=0644 \
+    --target='%{buildroot}%{_mandir}/man1' '%{SOURCE1}'
 %py3_shebang_fix %{buildroot}%{_bindir}/upgrade_pythoncapi.py
 
 

                 reply	other threads:[~2026-10-11  6:46 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=179170117072.1.4829282890263326589.rpms-pythoncapi-compat-046e0e0a7683@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