public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-oxipng] rawhide: Some reformatting in Cargo.toml
@ 2026-08-09 6:03 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-09 6:03 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-oxipng
Branch : rawhide
Commit : 59bd2f8c13682b820bfe1079e700c277731fcd1a
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-08-09T06:58:03+01:00
Stats : +17/-14 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rust-oxipng/c/59bd2f8c13682b820bfe1079e700c277731fcd1a?branch=rawhide
Log:
Some reformatting in Cargo.toml
[skip changelog]
---
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 29d7569..a77f195 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -8,21 +8,20 @@ number = 10
file = "https://github.com/shssoichiro/oxipng/archive/v%{version}/oxipng-%{version}.tar.gz"
comments = [
"""\
- We need the GitHub archive, in addition to the .crate from crates.io, \
- because the crate does not contain the xtask/ directory required for \
- generating a man page. As noted in \
- https://github.com/shssoichiro/oxipng/issues/654, there are technical \
- obstacles to including this in the crate. This source also includes the \
- tests/ directory, which allows us to run tests.\
- """,
+We need the GitHub archive, in addition to the .crate from crates.io, because \
+the crate does not contain the xtask/ directory required for generating a man \
+page. As noted in https://github.com/shssoichiro/oxipng/issues/654, there are \
+technical obstacles to including this in the crate. This source also includes \
+the tests/ directory, which allows us to run tests.\
+""",
]
[scripts.prep]
pre = [
"""\
# Copy in the xtask/ directory from the GitHub archive, required for generating
-# the man page. Remove upstream’s lock file, which we cannot respect. Note
-# that the mangen xtask has its own dependencies, so we must run
+# the man page. Remove upstream’s lock file, which we cannot respect. Note that
+# the mangen xtask has its own dependencies, so we must run
# %%cargo_generate_buildrequires in the xtask directory if we are to invoke it
# in the build.
tar -xzvf '%{SOURCE10}' --strip-components=1 oxipng-%{version}/xtask
@@ -41,15 +40,19 @@ popd >/dev/null\
[scripts.build]
post = [
- "# Generate the man page",
- "%{__cargo} run --manifest-path xtask/Cargo.toml -- mangen",
+ """\
+# Generate the man page
+%{__cargo} run --manifest-path xtask/Cargo.toml -- mangen\
+ """
]
[scripts.install]
post = [
- "mansrc='target/xtask/mangen/manpages/oxipng.1'",
- "mandest='%{buildroot}%{_mandir}/man1'",
- "install -t \"${mandest}\" -D -p -m 0644 \"${mansrc}\"",
+ """\
+mansrc='target/xtask/mangen/manpages/oxipng.1'
+mandest='%{buildroot}%{_mandir}/man1'
+install -t \"${mandest}\" -D -p -m 0644 \"${mansrc}\"\
+ """
]
[scripts.check]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-09 6:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-09 6:03 [rpms/rust-oxipng] rawhide: Some reformatting in Cargo.toml 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