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] epel10: Use various long options
Date: Mon, 01 Jun 2026 05:35:44 GMT [thread overview]
Message-ID: <178029214451.1.4907281834138551736.rpms-pipx-17dfbc15490f@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pipx
Branch : epel10
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
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} \
reply other threads:[~2026-06-01 5:35 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=178029214451.1.4907281834138551736.rpms-pipx-17dfbc15490f@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