public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib-sys] epel10: Hide features for unavailable glib2 versions
@ 2026-09-25 12:52 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 12:52 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-glib-sys
Branch : epel10
Commit : d26382fe52486802e1b62dd20cadc9bcf0e129c8
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-09-25T14:50:35+02:00
Stats  : +5/-65 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-glib-sys/c/d26382fe52486802e1b62dd20cadc9bcf0e129c8?branch=epel10

Log:
Hide features for unavailable glib2 versions

---
diff --git a/rust-glib-sys.spec b/rust-glib-sys.spec
index 72d952c..6914977 100644
--- a/rust-glib-sys.spec
+++ b/rust-glib-sys.spec
@@ -212,71 +212,6 @@ use the "v2_80" feature of the "%{crate}" crate.
 %files       -n %{name}+v2_80-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+v2_82-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(glib-2.0) >= 2.82
-
-%description -n %{name}+v2_82-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_82" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_82-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_84-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(glib-2.0) >= 2.84
-
-%description -n %{name}+v2_84-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_84" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_84-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_86-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(glib-2.0) >= 2.86
-
-%description -n %{name}+v2_86-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_86" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_86-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_88-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(glib-2.0) >= 2.88
-
-%description -n %{name}+v2_88-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_88" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_88-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_90-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(glib-2.0) >= 2.89
-
-%description -n %{name}+v2_90-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_90" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_90-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 9010dcf..39cc5df 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -11,6 +11,11 @@ comments = [
 
 [features]
 hide = [
+    "v2_82",
+    "v2_84",
+    "v2_86",
+    "v2_88",
+    "v2_90",
 ]
 
 [requires]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25 12:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 12:52 [rpms/rust-glib-sys] epel10: Hide features for unavailable glib2 versions Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox