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

A new commit has been pushed.

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

Log:
Hide features for unavailable librsvg2 versions

---
diff --git a/rust-librsvg-rebind.spec b/rust-librsvg-rebind.spec
index 7381062..2a28f38 100644
--- a/rust-librsvg-rebind.spec
+++ b/rust-librsvg-rebind.spec
@@ -46,30 +46,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
-
-%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
-
-%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 17bed43..e13779b 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -1,3 +1,9 @@
+[features]
+hide = [
+    "v2_58",
+    "v2_59",
+]
+
 [tests]
 skip = ["src/lib.rs"]
 comments = ["test fixtures are not included in published crates"]

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

only message in thread, other threads:[~2026-09-25 14:47 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:47 [rpms/rust-librsvg-rebind] 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