public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-drm] epel10: bump to 0.14.1
@ 2026-09-25 10:35 solomocyj
0 siblings, 0 replies; only message in thread
From: solomocyj @ 2026-09-25 10:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-drm
Branch : epel10
Commit : 549c98b649f30f24cc296cc12fe42d48e1f5a4e9
Author : solomocyj <solomoncyj@gmail.com>
Date : 2025-05-13T07:38:10+08:00
Stats : +73/-14 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/rust-drm/c/549c98b649f30f24cc296cc12fe42d48e1f5a4e9?branch=epel10
Log:
bump to 0.14.1
---
diff --git a/.gitignore b/.gitignore
index 5b7de2d..7403233 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/drm-0.9.0.crate
/drm-0.11.1.crate
+/drm-0.14.1.crate
diff --git a/drm-fix-metadata-auto.diff b/drm-fix-metadata-auto.diff
new file mode 100644
index 0000000..63ac7cd
--- /dev/null
+++ b/drm-fix-metadata-auto.diff
@@ -0,0 +1,8 @@
+--- 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
+@@ -113,5 +113,3 @@
+ [features]
+ use_bindgen = ["drm-ffi/use_bindgen"]
+
+-[target.'cfg(target_os = "freebsd")'.dependencies.libc]
+-version = "0.2"
diff --git a/drm-fix-metadata.diff b/drm-fix-metadata.diff
index 9b78f22..9084ad4 100644
--- a/drm-fix-metadata.diff
+++ b/drm-fix-metadata.diff
@@ -1,12 +1,51 @@
---- drm-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ drm-0.11.1/Cargo.toml 2024-01-18T05:00:23.229061+00:00
-@@ -62,8 +62,6 @@
- "mm",
- ]
+--- 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 @@
+ name = "drm"
+ path = "src/lib.rs"
--[dev-dependencies.rustyline]
--version = "13"
+-[[example]]
+-name = "atomic_modeset"
+-path = "examples/atomic_modeset.rs"
-
+-[[example]]
+-name = "basic"
+-path = "examples/basic.rs"
+-
+-[[example]]
+-name = "ffi"
+-path = "examples/ffi.rs"
+-
+-[[example]]
+-name = "kms_interactive"
+-path = "examples/kms_interactive.rs"
+-
+-[[example]]
+-name = "legacy_modeset"
+-path = "examples/legacy_modeset.rs"
+-
+-[[example]]
+-name = "list_modes"
+-path = "examples/list_modes.rs"
+-
+-[[example]]
+-name = "properties"
+-path = "examples/properties.rs"
+-
+-[[example]]
+-name = "resources"
+-path = "examples/resources.rs"
+-
+-[[example]]
+-name = "syncobj"
+-path = "examples/syncobj.rs"
+
+ [dependencies.bitflags]
+ version = "2"
+@@ -111,5 +76,6 @@
+ version = "13"
+
[features]
+default = ["use_bindgen"]
use_bindgen = ["drm-ffi/use_bindgen"]
+
diff --git a/rust-drm.spec b/rust-drm.spec
index da10f19..96f5895 100644
--- a/rust-drm.spec
+++ b/rust-drm.spec
@@ -1,20 +1,20 @@
-# Generated by rust2rpm 25
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
%global debug_package %{nil}
%global crate drm
Name: rust-drm
-Version: 0.11.1
+Version: 0.14.1
Release: %autorelease
Summary: Safe, low-level bindings to the Direct Rendering Manager API
License: MIT
URL: https://crates.io/crates/drm
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
-# * regenerate bindings by default
Patch: drm-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@@ -66,7 +66,7 @@ use the "use_bindgen" feature of the "%{crate}" crate.
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
# drop examples with outdated dependencies
-rm -rf examples/
+rm -rf examples
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..a8f2491
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,11 @@
+[package]
+cargo-toml-patch-comments = [
+ "* drop example-only rustyline dev-dependency ",
+ "* drop example tests",
+ " * regenerate bindings by default",
+]
+
+[scripts]
+prep.post = ["""\
+# drop examples with outdated dependencies
+rm -rf examples/."""]
diff --git a/sources b/sources
index d2a46f1..c89cffa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (drm-0.11.1.crate) = 7be5bbc81bef1957995a46b571f3627529ab1ac2ea64bf73fe1f875ae140213c8568721e6478aabeddfb742a34b48b6b592bdde702b86181f259b09cf27d276f
+SHA512 (drm-0.14.1.crate) = 9cc7c2edf18bca945809955b0e9dfc96b26fd7ba92751b8ef5be4f6ff01006cb267040bcaa91b240c632e589bf357a757004246e2f14a30cea8d1ae1dfbf7f3d
^ 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: bump to 0.14.1 solomocyj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox