public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-oxipng] epel9: Allow newer clap_mangen 0.3
Date: Tue, 08 Sep 2026 06:27:35 GMT	[thread overview]
Message-ID: <178884885587.1.13890981556482516758.rpms-rust-oxipng-e1cc1904a3ee@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-oxipng
Branch : epel9
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=epel9

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'\
     """
 ]
 

                 reply	other threads:[~2026-09-08  6:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178884885587.1.13890981556482516758.rpms-rust-oxipng-e1cc1904a3ee@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox