Fix filters of dependencies

This commit is contained in:
Jitka Plesnikova 2024-08-26 15:54:40 +02:00
parent ebb7ae332d
commit 7fdc288103

View File

@ -7,7 +7,7 @@
Name: perl-Sub-Exporter
Version: 0.991
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Sophisticated exporter for custom-built routines
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Sub-Exporter
@ -54,8 +54,8 @@ Requires: perl(Package::Generator)
%global __requires_exclude_from ^%{our_docdir}/
# Remove private test modules
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::SubExporter::(Faux|GroupGen)\\)$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Test::SubExporter::(DashSetup|Faux|GroupGen|GroupGenSubclass|ObjGen|ObjGen::Obj|s_e)\\)$
%description
Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows
@ -126,6 +126,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%{_libexecdir}/%{name}
%changelog
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.991-6
- Fix filters of dependencies
* Wed Aug 21 2024 Michal Josef Špaček <mspacek@redhat.com> - 0.991-5
- Package tests