public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-input-sys] epel10: Restore feature subpackages for libinput API levels
@ 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 : dfa52388e6e8b84a934f1af55d53c8a68255423c
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2025-11-29T21:45:43+01:00
Stats : +72/-11 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-input-sys/c/dfa52388e6e8b84a934f1af55d53c8a68255423c?branch=epel10
Log:
Restore feature subpackages for libinput API levels
---
diff --git a/input-sys-fix-metadata.diff b/input-sys-fix-metadata.diff
index 2938c6e..d45b865 100644
--- a/input-sys-fix-metadata.diff
+++ b/input-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
--- 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
++++ input-sys-1.18.0/Cargo.toml 2025-11-29T20:45:30.924223+00:00
@@ -30,7 +30,7 @@
path = "src/lib.rs"
diff --git a/rust-input-sys.spec b/rust-input-sys.spec
index 26babad..6cfea05 100644
--- a/rust-input-sys.spec
+++ b/rust-input-sys.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -66,6 +66,71 @@ use the "bindgen" feature of the "%{crate}" crate.
%files -n %{name}+bindgen-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+libinput_1_11-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libinput) >= 1.11
+
+%description -n %{name}+libinput_1_11-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libinput_1_11" feature of the "%{crate}" crate.
+
+%files -n %{name}+libinput_1_11-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+libinput_1_14-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libinput) >= 1.14
+
+%description -n %{name}+libinput_1_14-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libinput_1_14" feature of the "%{crate}" crate.
+
+%files -n %{name}+libinput_1_14-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+libinput_1_15-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libinput) >= 1.15
+
+%description -n %{name}+libinput_1_15-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libinput_1_15" feature of the "%{crate}" crate.
+
+%files -n %{name}+libinput_1_15-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+libinput_1_19-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libinput) >= 1.19
+
+%description -n %{name}+libinput_1_19-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libinput_1_19" feature of the "%{crate}" crate.
+
+%files -n %{name}+libinput_1_19-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+libinput_1_21-devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(libinput) >= 1.21
+
+%description -n %{name}+libinput_1_21-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "libinput_1_21" feature of the "%{crate}" crate.
+
+%files -n %{name}+libinput_1_21-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+proc-macro2-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 809831a..e93261b 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -4,15 +4,6 @@ cargo-toml-patch-comments = [
"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)",
@@ -22,4 +13,9 @@ lib = [
"pkgconfig(libinput)",
"pkgconfig(libudev)",
]
+features.libinput_1_11 = ["pkgconfig(libinput) >= 1.11"]
+features.libinput_1_14 = ["pkgconfig(libinput) >= 1.14"]
+features.libinput_1_15 = ["pkgconfig(libinput) >= 1.15"]
+features.libinput_1_19 = ["pkgconfig(libinput) >= 1.19"]
+features.libinput_1_21 = ["pkgconfig(libinput) >= 1.21"]
^ 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: Restore feature subpackages for libinput API levels Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox