public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Text-RecordParser] epel10.2: Split tools into a subpackage
@ 2026-08-07 13:12 Adam Williamson
  0 siblings, 0 replies; only message in thread
From: Adam Williamson @ 2026-08-07 13:12 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Text-RecordParser
            Branch : epel10.2
            Commit : 557e5c070b7f0a31650bf8483e1c45139b64fd3d
            Author : Adam Williamson <awilliam@redhat.com>
            Date   : 2021-12-14T12:00:19-08:00
            Stats  : +13/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Text-RecordParser/c/557e5c070b7f0a31650bf8483e1c45139b64fd3d?branch=epel10.2

            Log:
            Split tools into a subpackage

They have additional dependencies (GraphViz, Readonly) that the
modules do not have, so packaging them separately will help cut
down dependency sprawl for other things that only need the
modules (e.g. SQL-Translator).

---
diff --git a/perl-Text-RecordParser.spec b/perl-Text-RecordParser.spec
index 533d144..7d9d78d 100644
--- a/perl-Text-RecordParser.spec
+++ b/perl-Text-RecordParser.spec
@@ -60,6 +60,16 @@ not, and it will be called implicitly). If the first line contains data,
 you can still bind your own field names via bind_fields. Either way, you
 can then use many methods to get at the data as arrays or hashes.
 
+%package tools
+Summary:        %{name} command-line tools
+Obsoletes:      %{name} < 1.6.5-21
+
+%description tools
+This package contains the directly-runnable tools from %{name}
+(tab2graph, tablify etc.) They are packaged separately so things that
+only need the %{name} modules do not also pull in dependencies
+specific to the tools.
+
 %prep
 %setup -q -n Text-RecordParser-%{version}
 # Remove bundled modules
@@ -81,10 +91,12 @@ make test
 
 %files
 %doc Changes README TODO
-%{_bindir}/*
 %{perl_vendorlib}/*
 %{_mandir}/man[13]/*
 
+%files tools
+%{_bindir}/*
+
 %changelog
 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-21
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

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

only message in thread, other threads:[~2026-08-07 13:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 13:12 [rpms/perl-Text-RecordParser] epel10.2: Split tools into a subpackage Adam Williamson

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