public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ruff] epel10: Use various long options
@ 2026-06-05 6:21 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-05 6:21 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-05 6:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 6:21 [rpms/ruff] epel10: 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