public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-tree_magic_mini] epel10: Break the dependency on tree_magic_db via an unused optional with-gpl-data feature
@ 2026-09-04 5:42 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-04 5:42 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-tree_magic_mini
Branch : epel10
Commit : 5dd5f2c2d17a3dc8cfedb23d8881ac3cfa8b8b6f
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-02T08:10:36+01:00
Stats : +6/-12 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rust-tree_magic_mini/c/5dd5f2c2d17a3dc8cfedb23d8881ac3cfa8b8b6f?branch=epel10
Log:
Break the dependency on tree_magic_db via an unused optional with-gpl-data feature
---
diff --git a/rust-tree_magic_mini.spec b/rust-tree_magic_mini.spec
index 4f3c053..10f0e26 100644
--- a/rust-tree_magic_mini.spec
+++ b/rust-tree_magic_mini.spec
@@ -49,18 +49,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
-%package -n %{name}+with-gpl-data-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+with-gpl-data-devel %{_description}
-
-This package contains library source intended for building other packages which
-use the "with-gpl-data" feature of the "%{crate}" crate.
-
-%files -n %{name}+with-gpl-data-devel
-%ghost %{crate_instdir}/Cargo.toml
-
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
diff --git a/rust2rpm.toml b/rust2rpm.toml
index e2d10eb..98ca9aa 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -2,3 +2,9 @@
run = false
comments = ["checks can't run because the 'tests' directory is omitted from the crate: https://github.com/mbrubeck/tree_magic/issues/17"]
+[features]
+hide = [
+ # Avoid maintaining rust-tree_magic_db since nothing would require the
+ # optional feature it supports.
+ "with-gpl-data",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 5:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 5:42 [rpms/rust-tree_magic_mini] epel10: Break the dependency on tree_magic_db via an unused optional with-gpl-data feature Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox