On Friday 11 March 2011 01:25:50 Branched Report wrote: > mhonarc-2.6.16-8.fc15.noarch requires perl(readmail.pl) I have been trying to get rid of this problem and after more than six hours with no results it is time to quit and ask for help. :-) The problem here is with the auto_requires filters. The code that was there before was: -# Filter out unwanted requires -cat << EOF > %{name}-req -#!/bin/sh -%{__perl_requires} $* |\ -sed -e '/perl(.*\.pl)/d' -EOF - -%global __perl_requires %{_builddir}/MHonArc-%{version}/%{name}-req -chmod +x %{__perl_requires} The code did not work because the package requires: perl(ewhutil.pl) perl(mhtime.pl) perl(readmail.pl) These are bogus, or at least I think so. So I tried to prevent the auto_requires filter from adding them with: %filter_from_provides /perl(.*\.pl)/d %{?perl_default_filter} Just as the wiki suggests. Building the package locally I see: ... Finding Provides: /bin/sh -c " /bin/grep -v '/usr/lib64/perl5/.*\.so$' | /bin/grep -v -P '/usr/lib64/perl5/(?!CORE/libperl).*\.so$' | /bin/grep -v '/usr/share/doc' | while read FILE; do /usr/lib/rpm/rpmdeps -P ${FILE}; done | /bin/sort -u | /bin/sed -e '/perl(.*\.pl)/d' | /bin/sed -e '/perl(UNIVERSAL)/d; /perl(DB)/d'" ... All is nice and dandy and yet: $ rpm -qp --requires mhonarc-2.6.18-2.fc16.noarch.rpm | grep 'perl(.*\.pl)' perl(ewhutil.pl) perl(mhtime.pl) perl(readmail.pl) Argh... :-( Any help is appreciated, thank you. -- Josà AbÃlio -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test