public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libudev-sys] epel10: Regenerate with rust2rpm v24
@ 2026-06-15 13:50 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 13:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-libudev-sys
Branch : epel10
Commit : a943e1dbef241d357645f2d9d1827a3d4b7b6214
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2023-04-12T20:21:07+02:00
Stats : +16/-25 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libudev-sys/c/a943e1dbef241d357645f2d9d1827a3d4b7b6214?branch=epel10
Log:
Regenerate with rust2rpm v24
---
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
deleted file mode 100644
index f05495c..0000000
--- a/.rust2rpm.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[DEFAULT]
-buildrequires =
- pkgconfig(libudev)
-lib.requires =
- pkgconfig(libudev)
diff --git a/README.md b/README.md
deleted file mode 100644
index 3725bc3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-libudev-sys
-
-The rust-libudev-sys package
\ No newline at end of file
diff --git a/rust-libudev-sys.spec b/rust-libudev-sys.spec
index 57316fb..3056cdb 100644
--- a/rust-libudev-sys.spec
+++ b/rust-libudev-sys.spec
@@ -1,25 +1,19 @@
-# Generated by rust2rpm 10
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate libudev-sys
-Name: rust-%{crate}
+Name: rust-libudev-sys
Version: 0.1.4
Release: %autorelease
Summary: FFI bindings to libudev
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/libudev-sys
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
FFI bindings to libudev.}
@@ -33,13 +27,13 @@ Requires: pkgconfig(libudev)
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,11 +41,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+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 %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..f05495c
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(libudev)
+lib.requires =
+ pkgconfig(libudev)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 13:50 [rpms/rust-libudev-sys] epel10: Regenerate with rust2rpm v24 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox