work around rpmbuild's problems to find internal perl modules

This commit is contained in:
2024-06-07 17:20:12 +02:00
parent 012c4c73f1
commit cc134d4649

View File

@@ -82,11 +82,9 @@ Requires: perl-File-Find perl-File-Basename perl-File-Copy perl-FindBin pe
BuildRequires: perl-File-Find perl-File-Basename perl-File-Copy perl-FindBin perl-Getopt-Std perl-POSIX
%endif
%if 0%{?rhel} == 7
# Perl auto-detection is broken
# It does not find all EPICS internal packages
%global __requires_exclude_from ^%{prog_folder}/bin/.*\\.pl$
%endif
%description host-devel
Contains headers etc to build EPICS host applications.