public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libudev-sys] epel10: initial import
@ 2026-06-15 13:50 Igor Gnatenko
0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 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 : b0adc2653e042531fbf3e89cf67fad5fe8b720a1
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-07T22:49:21+01:00
Stats : +66/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libudev-sys/c/b0adc2653e042531fbf3e89cf67fad5fe8b720a1?branch=epel10
Log:
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..f5e7ba8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/libudev-sys-0.1.4.crate
diff --git a/rust-libudev-sys.spec b/rust-libudev-sys.spec
new file mode 100644
index 0000000..3fd3908
--- /dev/null
+++ b/rust-libudev-sys.spec
@@ -0,0 +1,64 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate libudev-sys
+
+Name: rust-%{crate}
+Version: 0.1.4
+Release: 1%{?dist}
+Summary: FFI bindings to libudev
+
+License: MIT
+URL: https://crates.io/crates/libudev-sys
+Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
+# [build-dependencies]
+BuildRequires: (crate(pkg-config) >= 0.3.2 with crate(pkg-config) < 0.4.0)
+BuildRequires: pkgconfig(libudev)
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+Requires: pkgconfig(libudev)
+BuildArch: noarch
+
+%description devel
+FFI bindings to libudev.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-1
+- Update to 0.1.4
+
+* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..fcd54c6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (libudev-sys-0.1.4.crate) = 185bd84a729a5dda6fb274584c7a731652418da9435d844870a9d09662918c9230287f4ad002273599d0a3e9709a36ae06d59a6686dfba978fb7cd1c51bbc2c7
^ 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: initial import Igor Gnatenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox