public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pipx] f43: Use various long options
@ 2026-05-31 22:24 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-05-31 22:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pipx
Branch : f43
Commit : dbb0c443f3c49693ca4e92412f8b7cebb681f279
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-05-20T21:05:56+01:00
Stats : +10/-6 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pipx/c/dbb0c443f3c49693ca4e92412f8b7cebb681f279?branch=f43
Log:
Use various long options
---
diff --git a/pipx.spec b/pipx.spec
index be5afc0..0398b24 100644
--- a/pipx.spec
+++ b/pipx.spec
@@ -86,17 +86,21 @@ PYTHONPATH="${PWD}/src" %{python3} scripts/generate_man.py
%install -a
-install -p -m 0644 -D -t '%{buildroot}%{_mandir}/man1' pipx.1
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{_mandir}/man1' pipx.1
-install -p -m 0644 -D -t '%{buildroot}%{bash_completions_dir}' pipx.bash
-install -p -m 0644 -D -t '%{buildroot}%{fish_completions_dir}' pipx.fish
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{bash_completions_dir}' pipx.bash
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{fish_completions_dir}' pipx.fish
# It seems that there is not a reasonable way to install tcsh completions
# system-wide, so we just make the completions file available for interested
# users.
-install -p -m 0644 -D pipx.tcsh \
+install -D --preserve-timestamps --mode=0644 pipx.tcsh \
'%{buildroot}%{_datadir}/pipx/pipx-completion.tcsh'
# Install the same generated bash completion for zsh
-install -p -m 0644 -D pipx.bash '%{buildroot}%{zsh_completions_dir}/_pipx'
+install -D --preserve-timestamps --mode=0644 pipx.bash \
+ '%{buildroot}%{zsh_completions_dir}/_pipx'
%check -a
@@ -110,7 +114,7 @@ install -p -m 0644 -D pipx.bash '%{buildroot}%{zsh_completions_dir}/_pipx'
# and confirming it can print its help output without crashing.
# Make sure the source copy of the package is not in the Python path.
-mkdir -p empty
+mkdir --parents empty
cd empty
%{py3_test_envvars} pipx --help >/dev/null
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 22:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 22:24 [rpms/pipx] f43: 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