public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-oxipng] epel10: Allow newer clap_mangen 0.3
@ 2026-09-08 6:27 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-08 6:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-oxipng
Branch : epel10
Commit : e1cc1904a3ee7dd260198cdcceb37e6236cf2cfa
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-06T09:35:03+01:00
Stats : +14/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-oxipng/c/e1cc1904a3ee7dd260198cdcceb37e6236cf2cfa?branch=epel10
Log:
Allow newer clap_mangen 0.3
---
diff --git a/oxipng-fix-metadata-auto.diff b/oxipng-fix-metadata-auto.diff
index 05d6a03..1e24325 100644
--- a/oxipng-fix-metadata-auto.diff
+++ b/oxipng-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
--- oxipng-9.1.5/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ oxipng-9.1.5/Cargo.toml 2025-08-03T09:57:15.123985+00:00
++++ oxipng-9.1.5/Cargo.toml 2026-09-06T08:34:26.535109+00:00
@@ -84,7 +84,6 @@
[features]
binary = [
diff --git a/oxipng-fix-metadata.diff b/oxipng-fix-metadata.diff
index d6bfe8d..bb211c8 100644
--- a/oxipng-fix-metadata.diff
+++ b/oxipng-fix-metadata.diff
@@ -1,5 +1,5 @@
--- oxipng-9.1.5/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ oxipng-9.1.5/Cargo.toml 2025-08-03T09:57:15.124949+00:00
++++ oxipng-9.1.5/Cargo.toml 2026-09-06T08:34:26.536137+00:00
@@ -30,7 +30,7 @@
autolib = false
autobins = false
diff --git a/rust-oxipng.spec b/rust-oxipng.spec
index 762c481..0556805 100644
--- a/rust-oxipng.spec
+++ b/rust-oxipng.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global crate oxipng
@@ -25,6 +25,7 @@ Patch: oxipng-fix-metadata-auto.diff
Patch: oxipng-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: tomcli
%global _description %{expand:
A lossless PNG compression optimizer.}
@@ -182,6 +183,9 @@ use the "zopfli" feature of the "%{crate}" crate.
# in the build.
tar -xzvf '%{SOURCE10}' --strip-components=1 oxipng-%{version}/xtask
rm xtask/Cargo.lock
+# Allow newer clap_mangen 0.3, backported from v10.2.1:
+# https://github.com/oxipng/oxipng/commit/fe2e9aa4a10cb962825c7bc2fd8cb99930a86166
+tomcli set xtask/Cargo.toml str dependencies.clap_mangen '>=0.2, <0.4'
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 6f98e6c..b53d224 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -20,6 +20,9 @@ comments = [
""",
]
+[requires]
+build = ["tomcli"]
+
[scripts.prep]
pre = [
"""\
@@ -29,7 +32,10 @@ pre = [
# %%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
-rm xtask/Cargo.lock\
+rm xtask/Cargo.lock
+# Allow newer clap_mangen 0.3, backported from v10.2.1:
+# https://github.com/oxipng/oxipng/commit/fe2e9aa4a10cb962825c7bc2fd8cb99930a86166
+tomcli set xtask/Cargo.toml str dependencies.clap_mangen '>=0.2, <0.4'\
"""
]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-08 6:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-08 6:27 [rpms/rust-oxipng] epel10: Allow newer clap_mangen 0.3 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