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/pipx] f44: Use various long options
Date: Sun, 31 May 2026 22:05:32 GMT [thread overview]
Message-ID: <178026513213.1.1016553253712006654.rpms-pipx-dbb0c443f3c4@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pipx
Branch : f44
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=f44
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
reply other threads:[~2026-05-31 22:05 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=178026513213.1.1016553253712006654.rpms-pipx-dbb0c443f3c4@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