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-sys] epel10: Restore feature subpackages for libinput API levels
Date: Fri, 25 Sep 2026 10:34:35 GMT	[thread overview]
Message-ID: <179033247528.1.15179587785558038017.rpms-rust-input-sys-dfa52388e6e8@fedoraproject.org> (raw)

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"]
 

                 reply	other threads:[~2026-09-25 10:34 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=179033247528.1.15179587785558038017.rpms-rust-input-sys-dfa52388e6e8@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