public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-b3sum] epel9: Use long options for the install command
@ 2026-11-28 22:08 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-11-28 22:08 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-b3sum
Branch : epel9
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=epel9
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\
+""",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-28 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 22:08 [rpms/rust-b3sum] epel9: Use long options for the install command 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