public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-libudev-sys] epel10: Adapt to new packaging
Date: Mon, 15 Jun 2026 13:50:22 GMT [thread overview]
Message-ID: <178153142248.1.4664482811962113452.rpms-rust-libudev-sys-07573c661d85@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-libudev-sys
Branch : epel10
Commit : 07573c661d859725a709a3b53f5d0f13d16200c8
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-11-02T16:49:57+01:00
Stats : +34/-15 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-libudev-sys/c/07573c661d859725a709a3b53f5d0f13d16200c8?branch=epel10
Log:
Adapt to new packaging
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
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)
diff --git a/rust-libudev-sys.spec b/rust-libudev-sys.spec
index 7a75314..ef956b4 100644
--- a/rust-libudev-sys.spec
+++ b/rust-libudev-sys.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.1.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: FFI bindings to libudev
License: MIT
@@ -16,25 +16,41 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
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: (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)
-%description
-%{summary}.
+%global _description \
+FFI bindings to libudev.
+
+%description %{_description}
%package devel
Summary: %{summary}
+BuildArch: noarch
Requires: pkgconfig(libudev)
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
BuildArch: noarch
-%description devel
-FFI bindings to libudev.
+%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
-which use %{crate} from crates.io.
+which use "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
@@ -51,12 +67,10 @@ which use %{crate} from crates.io.
%cargo_test
%endif
-%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version}/
-
%changelog
+* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.4-5
+- Adapt to new packaging
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
reply other threads:[~2026-06-15 13:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178153142248.1.4664482811962113452.rpms-rust-libudev-sys-07573c661d85@fedoraproject.org \
--to=ignatenkobrain@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox