public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-jiff] f43: Minor reformatting in rust2rpm.toml
@ 2026-09-13 9:34 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-13 9:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-jiff
Branch : f43
Commit : 026c2f99aaf97033645769eb9af6d9fdba9df9b6
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-13T10:10:29+01:00
Stats : +20/-21 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rust-jiff/c/026c2f99aaf97033645769eb9af6d9fdba9df9b6?branch=f43
Log:
Minor reformatting in rust2rpm.toml
[skip changelog]
---
diff --git a/rust2rpm.toml b/rust2rpm.toml
index f7eb732..28e8483 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -7,21 +7,20 @@ enable = [
[package]
cargo-toml-patch-comments = [
"""\
- Patch out the "js" feature, which is for wasm/browser targets only; \
- rust2rpm already patches the dependencies out of this feature automatically.\
- """,
+Patch out the "js" feature, which is for wasm/browser targets only; rust2rpm \
+already patches the dependencies out of this feature automatically.\
+""",
# Note: we don’t patch out the jiff-static version pin here, but in %prep
# using tomcli, to avoid having to re-create the patch every release due to
# the version number changing.
"""\
- Patch out the optional jiff-static and jiff-tzdb dependencies and all \
- features that would require them ("jiff-static", "static", "static-tz", \
- "jiff-tzdb", and "tzdb-bundle-always"). These crates are for compiling \
- timezone database data into the binary. We do not want to package either \
- crate, and we do not see a good use case for static time zone databases in \
- distribution packages, which are much better off using the system timezone \
- database in general.\
- """,
+Patch out the optional jiff-static and jiff-tzdb dependencies and all features \
+that would require them ("jiff-static", "static", "static-tz", "jiff-tzdb", and \
+"tzdb-bundle-always"). These crates are for compiling timezone database data \
+into the binary. We do not want to package either crate, and we do not see a \
+good use case for static time zone databases in distribution packages, which \
+are much better off using the system timezone database in general.\
+""",
"Patch out the defmt feature; rust-defmt is not (yet) packaged",
]
doc-files.exclude = [
@@ -40,13 +39,13 @@ number = 10
file = "https://github.com/BurntSushi/jiff/archive/%{version}/jiff-%{version}.tar.gz"
comments = [
"""\
- Since 0.1.22, the published crates no longer include “non-essential files \
- (including tests and test data).” Since we would like to run the tests, we use \
- the GitHub archive as an additional source as permitted in \
- https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_package_sources, \
- waiting until %%check to copy in the extra files to prove they are not included \
- in the crate sources shipped in the binary RPMs.\
- """,
+Since 0.1.22, the published crates no longer include “non-essential files \
+(including tests and test data).” Since we would like to run the tests, we use \
+the GitHub archive as an additional source as permitted in \
+https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/#_package_sources, \
+waiting until %%check to copy in the extra files to prove they are not included \
+in the crate sources shipped in the binary RPMs.\
+""",
]
[[package.extra-patches]]
@@ -54,9 +53,9 @@ number = 10
file = "0001-Downstream-only-Omit-doctests-that-require-hifitime.patch"
comments = [
"""\
- Downstream-only: Omit doctests that require hifitime. \
- It is not worth packaging it solely for a couple of tiny examples.\
- """,
+Downstream-only: Omit doctests that require hifitime. It is not worth \
+packaging it solely for a couple of tiny examples.\
+""",
]
[[package.extra-patches]]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-13 9:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-13 9:34 [rpms/rust-jiff] f43: Minor reformatting in rust2rpm.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