public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-drm] epel10: Drop outdated, examples-only rustyline dev-dependency
Date: Fri, 25 Sep 2026 10:35:37 GMT	[thread overview]
Message-ID: <179033253770.1.10943928138525536898.rpms-rust-drm-57f58636e015@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-drm
Branch : epel10
Commit : 57f58636e015df4b66382b86cf5afa3ab5f2a4d9
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2023-10-22T15:33:55+02:00
Stats  : +20/-7 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-drm/c/57f58636e015df4b66382b86cf5afa3ab5f2a4d9?branch=epel10

Log:
Drop outdated, examples-only rustyline dev-dependency

---
diff --git a/README.md b/README.md
deleted file mode 100644
index 6aa3eb7..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-drm
-
-The rust-drm package

diff --git a/drm-fix-metadata.diff b/drm-fix-metadata.diff
new file mode 100644
index 0000000..76514bd
--- /dev/null
+++ b/drm-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- drm-0.9.0/Cargo.toml	1970-01-01T00:00:01+00:00
++++ drm-0.9.0/Cargo.toml	2023-10-22T13:21:13.789238+00:00
+@@ -52,8 +52,5 @@
+ features = ["png"]
+ default-features = false
+ 
+-[dev-dependencies.rustyline]
+-version = "^8.0.0"
+-
+ [features]
+ use_bindgen = ["drm-ffi/use_bindgen"]

diff --git a/rust-drm.spec b/rust-drm.spec
index 1e592a3..709cb8c 100644
--- a/rust-drm.spec
+++ b/rust-drm.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 24
+# Generated by rust2rpm 25
 %bcond_without check
 %global debug_package %{nil}
 
@@ -12,12 +12,15 @@ Summary:        Safe, low-level bindings to the Direct Rendering Manager API
 License:        MIT
 URL:            https://crates.io/crates/drm
 Source:         %{crates_source}
-
-BuildRequires:  rust-packaging >= 21
+# Manually created patch for downstream crate metadata changes
+# * drop example-only rustyline dev-dependency
+Patch:          drm-fix-metadata.diff
 
 # No prebuilt bindings for target architecture
 ExcludeArch:    ppc64le s390x
 
+BuildRequires:  cargo-rpm-macros >= 24
+
 %global _description %{expand:
 Safe, low-level bindings to the Direct Rendering Manager API.}
 
@@ -62,8 +65,10 @@ use the "use_bindgen" feature of the "%{crate}" crate.
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
+# drop examples with outdated dependencies
+rm -rf examples/
 
 %generate_buildrequires
 %cargo_generate_buildrequires

                 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=179033253770.1.10943928138525536898.rpms-rust-drm-57f58636e015@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --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