Once upon a time, Axel Thimm <Axel.Thimm@xxxxxxxxxx> said: > Yes, for the archives the recipe is: > > Source999: filter-requires-<foo>.sh > %define _use_internal_dependency_generator 0 > %define __find_requires %{SOURCE999} > > and filter-requires-<foo>.sh does: > > #!/bin/sh > > /usr/lib/rpm/find-requires "$@" \ > | egrep -v <extended regex of bogus/superfluous dependencies> This is rather ugly, but is popping up in more packages. I really think RPM needs to handle this case cleaner in the spec file. Maybe something like: ExcludeRequires: perl(Win32) This is especially a problem with perl, since some modules have conditional requirements (like "if I'm running on Win32, use a Win32 module, otherwise use the POSIX module") for portability. The RPM perl requires scanner can't handle those. -- Chris Adams <cmadams@xxxxxxxxxx> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list