public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-input] epel10: Adapt to technically breaking changes in input-sys 1.18.0
Date: Fri, 25 Sep 2026 10:35:30 GMT [thread overview]
Message-ID: <179033253036.1.12054412050562199354.rpms-rust-input-5dfbc68ba3d7@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rust-input
Branch : epel10
Commit : 5dfbc68ba3d7668e3478fd767e3ae30fe5c1f43e
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2025-10-11T00:53:24+02:00
Stats : +24/-31 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-input/c/5dfbc68ba3d7668e3478fd767e3ae30fe5c1f43e?branch=epel10
Log:
Adapt to technically breaking changes in input-sys 1.18.0
---
diff --git a/README.md b/README.md
deleted file mode 100644
index 5d7eac0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-input
-
-The rust-input package
diff --git a/input-fix-metadata.diff b/input-fix-metadata.diff
index 817a57a..dd5322f 100644
--- a/input-fix-metadata.diff
+++ b/input-fix-metadata.diff
@@ -1,11 +1,12 @@
--- 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 @@
++++ input-0.8.3/Cargo.toml 2025-10-10T22:43:00.979884+00:00
+@@ -59,9 +59,7 @@
default = [
"udev",
"log",
- "libinput_1_21",
-+ "gen",
]
- gen = ["input-sys/gen"]
+-gen = ["input-sys/gen"]
libinput_1_11 = ["input-sys/libinput_1_11"]
+ libinput_1_14 = [
+ "input-sys/libinput_1_14",
diff --git a/rust-input.spec b/rust-input.spec
index ec3e161..d1d14b5 100644
--- a/rust-input.spec
+++ b/rust-input.spec
@@ -1,5 +1,5 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
%global debug_package %{nil}
%global crate input
@@ -13,10 +13,10 @@ License: MIT
URL: https://crates.io/crates/input
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# * default to gen feature
+# * drop dependency in input-sys/gen feature which was dropped in 1.18
Patch: input-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
+BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Libinput bindings for rust.}
@@ -50,18 +50,6 @@ 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
@@ -87,7 +75,7 @@ use the "udev" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index 795c817..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,7 +0,0 @@
-[DEFAULT]
-unwanted-features =
- libinput_1_11
- libinput_1_14
- libinput_1_15
- libinput_1_19
- libinput_1_21
diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..f2b996e
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,14 @@
+[package]
+cargo-toml-patch-comments = [
+ "drop dependency in input-sys/gen feature which was dropped in 1.18",
+]
+
+[features]
+hide = [
+ "libinput_1_11",
+ "libinput_1_14",
+ "libinput_1_15",
+ "libinput_1_19",
+ "libinput_1_21",
+]
+
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=179033253036.1.12054412050562199354.rpms-rust-input-5dfbc68ba3d7@fedoraproject.org \
--to=decathorpe@gmail.com \
--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