[packages/perl-XS-Parse-Keyword] explicitly R: perl(File::ShareDir)
atler
atler at pld-linux.org
Sun Jul 26 13:09:01 CEST 2026
commit 5d0ef355e9816aa31498396c0e324dd217b557cf
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jul 26 13:01:51 2026 +0200
explicitly R: perl(File::ShareDir)
perl's autoreq considers "require" statements with indent (ie part of
subroutine or conditional) to give too many false positives to include
them in package dependencies. File::ShareDir is used in real world cases
though hence add it manually.
perl-XS-Parse-Keyword.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/perl-XS-Parse-Keyword.spec b/perl-XS-Parse-Keyword.spec
index 2b8f685..6ace720 100644
--- a/perl-XS-Parse-Keyword.spec
+++ b/perl-XS-Parse-Keyword.spec
@@ -25,6 +25,7 @@ BuildRequires: rpmbuild(macros) >= 1.745
BuildRequires: perl-File-ShareDir >= 1.0
BuildRequires: perl-Test2-Suite
%endif
+Requires: perl(File::ShareDir)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -46,7 +47,7 @@ PL_keyword_plugin.
config=optimize="%{rpmcflags}" \
destdir=$RPM_BUILD_ROOT \
installdirs=vendor
-./Build
+./Build
%{?with_tests:./Build test}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-XS-Parse-Keyword.git/commitdiff/5d0ef355e9816aa31498396c0e324dd217b557cf
More information about the pld-cvs-commit
mailing list