public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-input] epel10: Adapt to technically breaking changes in input-sys 1.18.0
@ 2026-09-25 10:35 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:35 UTC (permalink / raw)
To: git-commits
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",
+]
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:35 [rpms/rust-input] epel10: Adapt to technically breaking changes in input-sys 1.18.0 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox