public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pipx] epel10.2: Use various long options
@ 2026-06-01  5:57 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-01  5:57 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/pipx
Branch : epel10.2
Commit : 17dfbc15490f6f64db290b260ac7b22f1785d5f1
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-01T06:34:21+01:00
Stats  : +10/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/pipx/c/17dfbc15490f6f64db290b260ac7b22f1785d5f1?branch=epel10.2

Log:
Use various long options

---
diff --git a/pipx.spec b/pipx.spec
index 36be54b..9c11888 100644
--- a/pipx.spec
+++ b/pipx.spec
@@ -103,17 +103,21 @@ PYTHONPATH="${PWD}/src" %{python3} scripts/generate_man.py
 %pyproject_install
 %pyproject_save_files -l pipx
 
-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
@@ -127,7 +131,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
 
 PYTHONPATH=%{buildroot}%{python3_sitelib} \

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

only message in thread, other threads:[~2026-06-01  5:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-01  5:57 [rpms/pipx] epel10.2: 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