public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-input-sys] epel10: Update to version 1.18.0; Fixes RHBZ#2259220
@ 2026-09-25 10:34 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-input-sys
Branch : epel10
Commit : f47577a158cff1b74b4c96e31201dfa15fce4e30
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2025-10-11T00:05:53+02:00
Stats : +77/-64 in 8 file(s)
URL : https://src.fedoraproject.org/rpms/rust-input-sys/c/f47577a158cff1b74b4c96e31201dfa15fce4e30?branch=epel10
Log:
Update to version 1.18.0; Fixes RHBZ#2259220
---
diff --git a/.gitignore b/.gitignore
index 36e3c0c..58176de 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/input-sys-1.17.0.crate
+/input-sys-1.18.0.crate
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 286a2a3..0000000
--- a/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2017 Victor Brekenfeld
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/README.md b/README.md
deleted file mode 100644
index 07ba235..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-input-sys
-
-The rust-input-sys package
diff --git a/input-sys-fix-metadata.diff b/input-sys-fix-metadata.diff
index 8a66834..2938c6e 100644
--- a/input-sys-fix-metadata.diff
+++ b/input-sys-fix-metadata.diff
@@ -1,16 +1,20 @@
---- input-sys-1.17.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ input-sys-1.17.0/Cargo.toml 2023-07-26T23:38:19.039062+00:00
-@@ -33,11 +33,11 @@
- version = "0.2"
+--- input-sys-1.18.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ input-sys-1.18.0/Cargo.toml 2025-10-10T22:04:59.133638+00:00
+@@ -30,7 +30,7 @@
+ path = "src/lib.rs"
[build-dependencies.bindgen]
--version = "0.57"
-+version = "0.63"
+-version = "0.69"
++version = ">=0.71,<0.73"
+ optional = true
+
+ [build-dependencies.proc-macro2]
+@@ -42,7 +42,7 @@
optional = true
[features]
-default = ["libinput_1_21"]
-+default = ["gen"]
- gen = ["bindgen"]
++default = ["update_bindings"]
libinput_1_11 = []
libinput_1_14 = []
+ libinput_1_15 = []
diff --git a/rust-input-sys.spec b/rust-input-sys.spec
index c9fcea7..26babad 100644
--- a/rust-input-sys.spec
+++ b/rust-input-sys.spec
@@ -1,26 +1,26 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 27
+%bcond check 1
%global debug_package %{nil}
%global crate input-sys
Name: rust-input-sys
-Version: 1.17.0
+Version: 1.18.0
Release: %autorelease
Summary: Bindgen generated unsafe libinput wrapper
License: MIT
URL: https://crates.io/crates/input-sys
Source: %{crates_source}
-# https://github.com/Smithay/input.rs/pull/56
-Source: https://github.com/Smithay/input.rs/raw/v0.8.3/LICENSE
# Manually created patch for downstream crate metadata changes
-# * bump bindgen to 0.63: https://github.com/Smithay/input.rs/pull/57
-# * default to gen feature
+# * bump bindgen dependency from 0.69 to 0.71..0.72:
+# https://github.com/Smithay/input.rs/pull/80
+# * regenerate bindings during the build by default
Patch: input-sys-fix-metadata.diff
-BuildRequires: rust-packaging >= 21
-BuildRequires: sed
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: pkgconfig(libinput)
+BuildRequires: pkgconfig(libudev)
%global _description %{expand:
Bindgen generated unsafe libinput wrapper.}
@@ -66,16 +66,28 @@ use the "bindgen" feature of the "%{crate}" crate.
%files -n %{name}+bindgen-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+gen-devel
+%package -n %{name}+proc-macro2-devel
Summary: %{summary}
BuildArch: noarch
-%description -n %{name}+gen-devel %{_description}
+%description -n %{name}+proc-macro2-devel %{_description}
This package contains library source intended for building other packages which
-use the "gen" feature of the "%{crate}" crate.
+use the "proc-macro2" feature of the "%{crate}" crate.
-%files -n %{name}+gen-devel
+%files -n %{name}+proc-macro2-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+regex-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+regex-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "regex" feature of the "%{crate}" crate.
+
+%files -n %{name}+regex-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+update_bindings-devel
@@ -90,16 +102,24 @@ use the "update_bindings" feature of the "%{crate}" crate.
%files -n %{name}+update_bindings-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+use_bindgen-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+use_bindgen-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "use_bindgen" feature of the "%{crate}" crate.
+
+%files -n %{name}+use_bindgen-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-cp -p %SOURCE1 .
-sed -i 's/whitelist/allowlist/g' build.rs
+%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
-echo 'pkgconfig(libinput)'
-echo 'pkgconfig(libudev)'
%build
%cargo_build
diff --git a/rust2rpm.conf b/rust2rpm.conf
deleted file mode 100644
index d5b2651..0000000
--- a/rust2rpm.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-[DEFAULT]
-buildrequires =
- pkgconfig(libinput)
- pkgconfig(libudev)
-lib.requires =
- pkgconfig(libinput)
- pkgconfig(libudev)
-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..809831a
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,25 @@
+[package]
+cargo-toml-patch-comments = [
+ "bump bindgen dependency from 0.69 to 0.71..0.72: https://github.com/Smithay/input.rs/pull/80",
+ "regenerate bindings during the build by default",
+]
+
+[features]
+hide = [
+ "libinput_1_11",
+ "libinput_1_14",
+ "libinput_1_15",
+ "libinput_1_19",
+ "libinput_1_21",
+]
+
+[requires]
+build = [
+ "pkgconfig(libinput)",
+ "pkgconfig(libudev)",
+]
+lib = [
+ "pkgconfig(libinput)",
+ "pkgconfig(libudev)",
+]
+
diff --git a/sources b/sources
index 1f43552..93c021f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (input-sys-1.17.0.crate) = 5c98527c89a38b3cc3284afefdef4c47a6c1709968eb65af4108d4ab8a8f1814e9a82d8541b1bb8866e5ecf88ac39eb2038734eea07f361386ca9a03c70b6336
+SHA512 (input-sys-1.18.0.crate) = 55a55422b4d74c54a294591341fd8f3beb43846461e529959108665ee518bbab558b8c769b04ae0aa71e26c8fd19b903cc5a1a42e85512c4aab2b0bc860dcfa7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:34 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:34 [rpms/rust-input-sys] epel10: Update to version 1.18.0; Fixes RHBZ#2259220 Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox