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/rust-b3sum] f45: Use long options for the install command
Date: Sat, 28 Nov 2026 22:09:19 GMT [thread overview]
Message-ID: <179590375956.1.2285972557897502678.rpms-rust-b3sum-0d7f3a2b57c0@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-b3sum
Branch : f45
Commit : 0d7f3a2b57c05d9a24d54114395dbcd4b8b5e2ad
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-11-27T06:50:41+00:00
Stats : +9/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-b3sum/c/0d7f3a2b57c05d9a24d54114395dbcd4b8b5e2ad?branch=f45
Log:
Use long options for the install command
[skip changelog]
---
diff --git a/b3sum-fix-metadata.diff b/b3sum-fix-metadata.diff
index b409e74..9d177c1 100644
--- a/b3sum-fix-metadata.diff
+++ b/b3sum-fix-metadata.diff
@@ -1,5 +1,5 @@
--- b3sum-1.8.7/Cargo.toml 2006-07-24T01:21:28+00:00
-+++ b3sum-1.8.7/Cargo.toml 2026-08-23T23:59:01.284253+00:00
++++ b3sum-1.8.7/Cargo.toml 2026-11-27T06:50:16.748233+00:00
@@ -22,7 +22,7 @@
autobenches = false
description = "a command line implementation of the BLAKE3 hash function"
diff --git a/rust-b3sum.spec b/rust-b3sum.spec
index 56959c3..5ecdb6e 100644
--- a/rust-b3sum.spec
+++ b/rust-b3sum.spec
@@ -70,7 +70,8 @@ help2man --no-info --output=b3sum.1 target/rpm/b3sum
%install
%cargo_install
-install -t %{buildroot}%{_mandir}/man1 -D -p -m 0644 b3sum.1
+install -D --preserve-timestamps --mode=0644 \
+ --target='%{buildroot}%{_mandir}/man1' b3sum.1
%if %{with check}
%check
diff --git a/rust2rpm.toml b/rust2rpm.toml
index ec9b36a..6fab48e 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -21,4 +21,9 @@ build = ["help2man"]
post = ["help2man --no-info --output=b3sum.1 target/rpm/b3sum"]
[scripts.install]
-post = ["install -t %{buildroot}%{_mandir}/man1 -D -p -m 0644 b3sum.1"]
+post = [
+ """\
+install -D --preserve-timestamps --mode=0644 \\
+ --target='%{buildroot}%{_mandir}/man1' b3sum.1\
+""",
+]
reply other threads:[~2026-11-28 22: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=179590375956.1.2285972557897502678.rpms-rust-b3sum-0d7f3a2b57c0@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