public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Michel Lind <salimma@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-ifcfg-devname] rawhide: Allow building against syslog 7
Date: Thu, 02 Jul 2026 19:48:57 GMT	[thread overview]
Message-ID: <178302173790.1.1211176618954423706.rpms-rust-ifcfg-devname-add47384992b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-ifcfg-devname
            Branch : rawhide
            Commit : add47384992b3aad7a4fb086ec9554130b963af1
            Author : Michel Lind <salimma@fedoraproject.org>
            Date   : 2026-07-02T17:02:45+01:00
            Stats  : +20/-2 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-ifcfg-devname/c/add47384992b3aad7a4fb086ec9554130b963af1?branch=rawhide

            Log:
            Allow building against syslog 7

Signed-off-by: Michel Lind <salimma@fedoraproject.org>

---
diff --git a/ifcfg-devname-fix-metadata.diff b/ifcfg-devname-fix-metadata.diff
new file mode 100644
index 0000000..ca1be1a
--- /dev/null
+++ b/ifcfg-devname-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- ifcfg-devname-1.1.1/Cargo.toml	1970-01-01T00:00:01+00:00
++++ ifcfg-devname-1.1.1/Cargo.toml	2026-07-02T15:08:32.171448+00:00
+@@ -66,7 +66,7 @@
+ version = "0.6.0"
+ 
+ [dependencies.syslog]
+-version = "^6.1.0"
++version = ">=6.1.0,<8"
+ 
+ [dev-dependencies.assert_cmd]
+ version = "2.0.15"

diff --git a/rust-ifcfg-devname.spec b/rust-ifcfg-devname.spec
index 3fed925..cbf9c41 100644
--- a/rust-ifcfg-devname.spec
+++ b/rust-ifcfg-devname.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 26
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 
 %global crate ifcfg-devname
 
@@ -11,6 +11,9 @@ Summary:        Udev helper utility that provides network interface naming
 License:        GPL-3.0-or-later
 URL:            https://crates.io/crates/ifcfg-devname
 Source:         %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * allow building against syslog 7
+Patch:          ifcfg-devname-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
 

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..21f530c
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,4 @@
+[package]
+cargo-toml-patch-comments = [
+  "allow building against syslog 7",
+]

                 reply	other threads:[~2026-07-02 19:48 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=178302173790.1.1211176618954423706.rpms-rust-ifcfg-devname-add47384992b@fedoraproject.org \
    --to=salimma@fedoraproject.org \
    --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