public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-drm] epel10: Update rust2rpm.toml and regenerate
@ 2026-09-25 10:35 Davide Cavalca
  0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-25 10:35 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-drm
Branch : epel10
Commit : d8b53687cb0da8b55271cb02e2938c5fa9441887
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2025-05-12T21:49:08-07:00
Stats  : +22/-14 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-drm/c/d8b53687cb0da8b55271cb02e2938c5fa9441887?branch=epel10

Log:
Update rust2rpm.toml and regenerate

---
diff --git a/drm-fix-metadata-auto.diff b/drm-fix-metadata-auto.diff
index 63ac7cd..9cc5434 100644
--- a/drm-fix-metadata-auto.diff
+++ b/drm-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- drm-0.14.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ drm-0.14.1/Cargo.toml	2025-05-06T11:47:22.913686+00:00
++++ drm-0.14.1/Cargo.toml	2025-05-13T04:47:15.708278+00:00
 @@ -113,5 +113,3 @@
  [features]
  use_bindgen = ["drm-ffi/use_bindgen"]

diff --git a/drm-fix-metadata.diff b/drm-fix-metadata.diff
index 9084ad4..34f4b04 100644
--- a/drm-fix-metadata.diff
+++ b/drm-fix-metadata.diff
@@ -1,6 +1,6 @@
 --- drm-0.14.1/Cargo.toml	1970-01-01T00:00:01+00:00
-+++ drm-0.14.1/Cargo.toml	2025-05-06T11:50:46.373852+00:00
-@@ -36,41 +36,6 @@
++++ drm-0.14.1/Cargo.toml	2025-05-13T04:47:51.668393+00:00
+@@ -36,42 +36,6 @@
  name = "drm"
  path = "src/lib.rs"
  
@@ -39,12 +39,17 @@
 -[[example]]
 -name = "syncobj"
 -path = "examples/syncobj.rs"
- 
+-
  [dependencies.bitflags]
  version = "2"
-@@ -111,5 +76,6 @@
- version = "13"
  
+@@ -107,9 +71,7 @@
+     "mm",
+ ]
+ 
+-[dev-dependencies.rustyline]
+-version = "13"
+-
  [features]
 +default = ["use_bindgen"]
  use_bindgen = ["drm-ffi/use_bindgen"]

diff --git a/rust-drm.spec b/rust-drm.spec
index 96f5895..7462d0c 100644
--- a/rust-drm.spec
+++ b/rust-drm.spec
@@ -15,6 +15,9 @@ Source:         %{crates_source}
 # Automatically generated patch to strip dependencies and normalize metadata
 Patch:          drm-fix-metadata-auto.diff
 # Manually created patch for downstream crate metadata changes
+# * drop example-only rustyline dev-dependency
+# * drop example tests
+# * regenerate bindings by default
 Patch:          drm-fix-metadata.diff
 
 BuildRequires:  cargo-rpm-macros >= 24
@@ -65,8 +68,7 @@ use the "use_bindgen" feature of the "%{crate}" crate.
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep
-# drop examples with outdated dependencies
-rm -rf examples
+rm -r examples/
 
 %generate_buildrequires
 %cargo_generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
index a8f2491..35a92dd 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,11 +1,12 @@
 [package]
 cargo-toml-patch-comments = [
-  "* drop example-only rustyline dev-dependency ",
-  "* drop example tests",
-  " * regenerate bindings by default",
+  "drop example-only rustyline dev-dependency ",
+  "drop example tests",
+  "regenerate bindings by default",
 ]
 
 [scripts]
-prep.post = ["""\
-# drop examples with outdated dependencies
-rm -rf examples/."""]
+prep.post = [
+  # drop examples with outdated dependencies
+  "rm -r examples/",
+]

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

only message in thread, other threads:[~2026-09-25 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:35 [rpms/rust-drm] epel10: Update rust2rpm.toml and regenerate Davide Cavalca

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