public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-ifcfg-devname] rawhide: Allow building against syslog 7
@ 2026-07-02 19:48 Michel Lind
  0 siblings, 0 replies; only message in thread
From: Michel Lind @ 2026-07-02 19:48 UTC (permalink / raw)
  To: git-commits

            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",
+]

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

only message in thread, other threads:[~2026-07-02 19:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 19:48 [rpms/rust-ifcfg-devname] rawhide: Allow building against syslog 7 Michel Lind

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox