public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <dcavalca@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-drm] epel10: Update rust2rpm.toml and regenerate
Date: Fri, 25 Sep 2026 10:35:40 GMT [thread overview]
Message-ID: <179033254092.1.1989567592191209864.rpms-rust-drm-d8b53687cb0d@fedoraproject.org> (raw)
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/",
+]
reply other threads:[~2026-09-25 10:35 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=179033254092.1.1989567592191209864.rpms-rust-drm-d8b53687cb0d@fedoraproject.org \
--to=dcavalca@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