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] f43: Use various long options
Date: Thu, 04 Jun 2026 11:09:12 GMT	[thread overview]
Message-ID: <178057135250.1.13789758753203465558.rpms-ruff-db5fad47e712@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ruff
Branch : f43
Commit : db5fad47e712e1483b18126f1e866ed986eb61fd
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-05-23T23:48:20+01:00
Stats  : +12/-8 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ruff/c/db5fad47e712e1483b18126f1e866ed986eb61fd?branch=f43

Log:
Use various long options

---
diff --git a/ruff.spec b/ruff.spec
index 77e848a..141de2f 100644
--- a/ruff.spec
+++ b/ruff.spec
@@ -289,7 +289,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.
@@ -307,9 +308,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
@@ -319,12 +322,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'
@@ -370,9 +373,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-04 11:09 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=178057135250.1.13789758753203465558.rpms-ruff-db5fad47e712@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