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/ruff] epel10: Use various long options
Date: Fri, 05 Jun 2026 06:21:02 GMT [thread overview]
Message-ID: <178064046279.1.2340350924995485414.rpms-ruff-9fbcec1c8d52@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ruff
Branch : epel10
Commit : 9fbcec1c8d528ef4f7be78d37d931859274b67a7
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-06-05T06:38:54+01:00
Stats : +12/-8 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ruff/c/9fbcec1c8d528ef4f7be78d37d931859274b67a7?branch=epel10
Log:
Use various long options
---
diff --git a/ruff.spec b/ruff.spec
index 74c47a2..654c46a 100644
--- a/ruff.spec
+++ b/ruff.spec
@@ -287,7 +287,8 @@ git2path workspace.dependencies.lsp-types crates/lsp-types
pushd crates/lsp-types
%autopatch -p1 -m200 -M299
popd
-install -t LICENSE.bundled/lsp-types -D -p -m 0644 crates/lsp-types/LICENSE
+install -D --preserve-timestamps --mode=0644 \
+ --target=LICENSE.bundled/lsp-types crates/lsp-types/LICENSE
# Loosen some version bounds. We retain this comment and the following example
# even when there are currently no dependencies that need to be adjusted.
@@ -305,9 +306,11 @@ tomcli set Cargo.toml str workspace.dependencies.get-size2.version \
'>=0.8.0, <0.10.0'
# Collect license files of vendored dependencies in the main source archive
-install -t LICENSE.bundled/typeshed -D -p -m 0644 \
+install -D --preserve-timestamps --mode=0644 \
+ --target=LICENSE.bundled/typeshed \
crates/ty_vendored/vendor/typeshed/LICENSE
-install -t LICENSE.bundled/annotate_snippets -D -p -m 0644 \
+install -D --preserve-timestamps --mode=0644 \
+ --target=LICENSE.bundled/annotate_snippets \
crates/ruff_annotate_snippets/LICENSE-*
# Patch out foreign (e.g. Windows-only) dependencies. Follow symbolic links so
@@ -317,12 +320,12 @@ find -L . -type f -name Cargo.toml -print \
# Drop unused subproject crates.
# binary crate for running micro-benchmarks.
-rm -rv crates/ruff_benchmark
+rm --recursive --verbose crates/ruff_benchmark
# binary crate containing utilities used in the development of Ruff itself
-rm -rv crates/ruff_dev
+rm --recursive --verbose crates/ruff_dev
# library crate for exposing Ruff as a WebAssembly module. Powers the
# [Ruff Playground](https://play.ruff.rs/).
-rm -rv crates/ruff_wasm crates/ty_wasm
+rm --recursive --verbose crates/ruff_wasm crates/ty_wasm
# Verify we have the correct snapshot hash for typeshed
typeshed_rev_file='crates/ty_vendored/vendor/typeshed/source_commit.txt'
@@ -373,9 +376,10 @@ then
# library is actually pure-Python, and the python3-ruff subpackage can be
# noarch. We can’t tell maturin to install to the appropriate site-packages
# directory, but we can fix the installation path manually.
- install -d %{buildroot}%{python3_sitelib}
+ install --directory %{buildroot}%{python3_sitelib}
mv %{buildroot}%{python3_sitearch}/ruff* %{buildroot}%{python3_sitelib}
- sed -r -i 's@%{python3_sitearch}@%{python3_sitelib}@' %{pyproject_files}
+ sed --regexp-extended --in-place \
+ 's@%{python3_sitearch}@%{python3_sitelib}@' %{pyproject_files}
fi
# generate and install shell completions
reply other threads:[~2026-06-05 6:21 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=178064046279.1.2340350924995485414.rpms-ruff-9fbcec1c8d52@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