public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libcramjam] rawhide: Minor rust2rpm.toml reformatting
@ 2026-09-30 19:56 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-30 19:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-libcramjam
            Branch : rawhide
            Commit : 02819bd7e152030f1bfb5a0686f50d6d0dcc2e4e
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-09-29T17:04:45+01:00
            Stats  : +16/-12 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-libcramjam/c/02819bd7e152030f1bfb5a0686f50d6d0dcc2e4e?branch=rawhide

            Log:
            Minor rust2rpm.toml reformatting

[skip changelog]

---
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 8d74896..18e3eb9 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -7,10 +7,10 @@ cargo-toml-patch-comments = [
     "Patch out features requiring blosc2-rs or isal-rs so we can stop packaging those crates",
     "Drop unused direct cbindgen build-dependency: https://github.com/cramjam/libcramjam/pull/23",
     """\
-    Relax bzip2 dependency to allow building with both v0.4 and v0.5: \
-    https://github.com/cramjam/libcramjam/pull/24; Allow bzip2 0.6: \
-    https://github.com/cramjam/libcramjam/pull/30\
-    """,
+Relax bzip2 dependency to allow building with both v0.4 and v0.5: \
+https://github.com/cramjam/libcramjam/pull/24; Allow bzip2 0.6: \
+https://github.com/cramjam/libcramjam/pull/30\
+""",
     "Update brotli from 7 to 8: https://github.com/cramjam/libcramjam/pull/29",
 ]
 # This is handled in scripts.install.post.
@@ -44,15 +44,19 @@ enable-all = true
 
 [scripts.build]
 post = [
-    "%if %{with capi}",
-    "%cargo_cbuild -a",
-    "%endif",
+    """\
+%if %{with capi}
+%cargo_cbuild -a
+%endif\
+""",
 ]
 [scripts.install]
 post = [
-    "%if %{with capi}",
-    "%cargo_cinstall -a",
-    "# https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries",
-    "rm '%{buildroot}%{_libdir}/%{crate}.a'",
-    "%endif",
+    """\
+%if %{with capi}
+%cargo_cinstall -a
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries
+rm '%{buildroot}%{_libdir}/%{crate}.a'
+%endif\
+""",
 ]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-30 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 19:56 [rpms/rust-libcramjam] rawhide: Minor rust2rpm.toml reformatting 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