public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Davide Cavalca <davide@cavalca.name>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-input] epel10: Initial import; Fixes: RHBZ#2224961
Date: Fri, 25 Sep 2026 10:35:27 GMT [thread overview]
Message-ID: <179033252777.1.2060057500613410340.rpms-rust-input-10c5bae7b393@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-input
Branch : epel10
Commit : 10c5bae7b393f96d32248c6cc2dbaffa6d4b821e
Author : Davide Cavalca <davide@cavalca.name>
Date : 2023-07-29T16:20:05-07:00
Stats : +128/-0 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-input/c/10c5bae7b393f96d32248c6cc2dbaffa6d4b821e?branch=epel10
Log:
Initial import; Fixes: RHBZ#2224961
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2b2a603
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/input-0.8.3.crate
diff --git a/input-fix-metadata.diff b/input-fix-metadata.diff
new file mode 100644
index 0000000..817a57a
--- /dev/null
+++ b/input-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- input-0.8.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ input-0.8.3/Cargo.toml 2023-07-26T23:44:05.268981+00:00
+@@ -59,7 +59,7 @@
+ default = [
+ "udev",
+ "log",
+- "libinput_1_21",
++ "gen",
+ ]
+ gen = ["input-sys/gen"]
+ libinput_1_11 = ["input-sys/libinput_1_11"]
diff --git a/rust-input.spec b/rust-input.spec
new file mode 100644
index 0000000..ec3e161
--- /dev/null
+++ b/rust-input.spec
@@ -0,0 +1,108 @@
+# Generated by rust2rpm 24
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate input
+
+Name: rust-input
+Version: 0.8.3
+Release: %autorelease
+Summary: Libinput bindings for rust
+
+License: MIT
+URL: https://crates.io/crates/input
+Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * default to gen feature
+Patch: input-fix-metadata.diff
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Libinput bindings for rust.}
+
+%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}/CHANGELOG.md
+%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}+gen-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+gen-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "gen" feature of the "%{crate}" crate.
+
+%files -n %{name}+gen-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+log-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+log-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "log" feature of the "%{crate}" crate.
+
+%files -n %{name}+log-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+udev-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+udev-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "udev" feature of the "%{crate}" crate.
+
+%files -n %{name}+udev-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/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..795c817
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+unwanted-features =
+ libinput_1_11
+ libinput_1_14
+ libinput_1_15
+ libinput_1_19
+ libinput_1_21
diff --git a/sources b/sources
new file mode 100644
index 0000000..4ea33c1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (input-0.8.3.crate) = 35d4031eb755614b8531d557b2ed316de5e4bc6e8fb830de13f09050ffeafb5df80100c4596afcbebcc96e07e52e203e43a792e954f543b67482530f7472dd32
reply other threads:[~2026-09-25 10:35 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=179033252777.1.2060057500613410340.rpms-rust-input-10c5bae7b393@fedoraproject.org \
--to=davide@cavalca.name \
--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