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).
epel9
Adam Williamson 3 years ago
parent 8e9456e564
commit 557e5c070b

@ -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

Loading…
Cancel
Save