public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pythoncapi-compat] epel10: Use various long options
@ 2026-10-11 7:53 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-11 7:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pythoncapi-compat
Branch : epel10
Commit : c67341096b945d9ebfe7b2ca20831868086cf336
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-11T08:51:31+01:00
Stats : +9/-4 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pythoncapi-compat/c/c67341096b945d9ebfe7b2ca20831868086cf336?branch=epel10
Log:
Use various long options
---
diff --git a/pythoncapi-compat.spec b/pythoncapi-compat.spec
index 469e93c..f0fb54a 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-11 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-11 7:53 [rpms/pythoncapi-compat] epel10: Use various 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