public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-libudev-sys] epel10: Regenerate
@ 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 : 2b4681e70ff4a821d04f4f3a60f5126b93ccf192
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-09-07T09:25:07+02:00
            Stats  : +36/-9 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-libudev-sys/c/2b4681e70ff4a821d04f4f3a60f5126b93ccf192?branch=epel10

            Log:
            Regenerate

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/rust-libudev-sys.spec b/rust-libudev-sys.spec
index b36a00f..b42f94e 100644
--- a/rust-libudev-sys.spec
+++ b/rust-libudev-sys.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm
+# Generated by rust2rpm 10
 %bcond_without check
 %global debug_package %{nil}
 
@@ -6,22 +6,23 @@
 
 Name:           rust-%{crate}
 Version:        0.1.4
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        FFI bindings to libudev
 
+# Upstream license specification: MIT
 License:        MIT
 URL:            https://crates.io/crates/libudev-sys
-Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+Source:         %{crates_source}
 
 ExclusiveArch:  %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch:      noarch
+%endif
 
 BuildRequires:  rust-packaging
-BuildRequires:  (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0)
-BuildRequires:  (crate(pkg-config/default) >= 0.3.2 with crate(pkg-config/default) < 0.4.0)
-BuildRequires:  pkgconfig(libudev)
 
-%global _description \
-FFI bindings to libudev.
+%global _description %{expand:
+FFI bindings to libudev.}
 
 %description %{_description}
 
@@ -53,9 +54,13 @@ which use "default" feature of "%{crate}" crate.
 %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version} -p1
+%autosetup -n %{crate}-%{version_no_tilde} -p1
 %cargo_prep
 
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo 'pkgconfig(libudev)'
+
 %build
 %cargo_build
 
@@ -68,6 +73,9 @@ which use "default" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Sat Sep 07 09:24:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-8
+- Regenerate
+
 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
 

diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1

diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+  qemu:
+    # `cargo test` usually eats more than 1G.
+    m: 4G

diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..6ab66a4
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+  roles:
+  - role: standard-test-basic
+    tags:
+    - classic
+    repositories:
+    - repo: "https://src.fedoraproject.org/tests/rust.git"
+      dest: rust
+    tests:
+    - rust/cargo-test
+    environment:
+      pkg: rust-libudev-sys

^ 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 Igor Gnatenko

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