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

A new commit has been pushed.

Repo   : rpms/rust-librsvg-rebind-sys
Branch : epel10
Commit : 6a649c5e2a056ddaeeb8ab5682cda2b38ea2b4b6
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-09-25T16:18:21+02:00
Stats  : +6/-26 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-librsvg-rebind-sys/c/6a649c5e2a056ddaeeb8ab5682cda2b38ea2b4b6?branch=epel10

Log:
Hide features for unavailable librsvg2 versions

---
diff --git a/rust-librsvg-rebind-sys.spec b/rust-librsvg-rebind-sys.spec
index 883d700..7a94bc4 100644
--- a/rust-librsvg-rebind-sys.spec
+++ b/rust-librsvg-rebind-sys.spec
@@ -47,32 +47,6 @@ use the "default" feature of the "%{crate}" crate.
 %files       -n %{name}+default-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+v2_58-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(librsvg-2.0) >= 2.58
-
-%description -n %{name}+v2_58-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_58" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_58-devel
-%ghost %{crate_instdir}/Cargo.toml
-
-%package     -n %{name}+v2_59-devel
-Summary:        %{summary}
-BuildArch:      noarch
-Requires:       pkgconfig(librsvg-2.0) >= 2.59
-
-%description -n %{name}+v2_59-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "v2_59" feature of the "%{crate}" crate.
-
-%files       -n %{name}+v2_59-devel
-%ghost %{crate_instdir}/Cargo.toml
-
 %prep
 %autosetup -n %{crate}-%{version} -p1
 %cargo_prep

diff --git a/rust2rpm.toml b/rust2rpm.toml
index f673566..46458fb 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,9 @@
+[features]
+hide = [
+    "v2_58",
+    "v2_59",
+]
+
 [requires]
 build = ["pkgconfig(librsvg-2.0) >= 2.50"]
 lib = ["pkgconfig(librsvg-2.0) >= 2.50"]

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 14:20 [rpms/rust-librsvg-rebind-sys] epel10: Hide features for unavailable librsvg2 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