public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-tree_magic_mini] f43: Break the dependency on tree_magic_db via an unused optional with-gpl-data feature
Date: Thu, 03 Sep 2026 20:12:32 GMT	[thread overview]
Message-ID: <178846635297.1.2731051854185457784.rpms-rust-tree_magic_mini-5dd5f2c2d17a@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-tree_magic_mini
Branch : f43
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=f43

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

                 reply	other threads:[~2026-09-03 20:12 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=178846635297.1.2731051854185457784.rpms-rust-tree_magic_mini-5dd5f2c2d17a@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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