public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-drm] epel10: Initial import; Fixes: RHBZ#2224816
@ 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 : e70274798c24663cecfd54c2a447c81c64637f9b
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date   : 2023-07-23T08:57:56-07:00
Stats  : +85/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-drm/c/e70274798c24663cecfd54c2a447c81c64637f9b?branch=epel10

Log:
Initial import; Fixes: RHBZ#2224816

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f2378fa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/drm-0.9.0.crate

diff --git a/rust-drm.spec b/rust-drm.spec
new file mode 100644
index 0000000..1e592a3
--- /dev/null
+++ b/rust-drm.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 24
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate drm
+
+Name:           rust-drm
+Version:        0.9.0
+Release:        %autorelease
+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
+
+# No prebuilt bindings for target architecture
+ExcludeArch:    ppc64le s390x
+
+%global _description %{expand:
+Safe, low-level bindings to the Direct Rendering Manager API.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files          devel
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package     -n %{name}+use_bindgen-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+use_bindgen-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "use_bindgen" feature of the "%{crate}" crate.
+
+%files       -n %{name}+use_bindgen-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog

diff --git a/sources b/sources
new file mode 100644
index 0000000..c60809f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (drm-0.9.0.crate) = cbde17a9fed90eb36e5b00b1bfa41aeb9ab123fe80f5cb936521df8d8adcbfec0d58c9653f134f72a4bf9a13f6d025884164598e993d0e696e090a343d98d7bb

^ 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: Initial import; Fixes: RHBZ#2224816 Davide Cavalca

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