On Wed, 8 Jul 2009, Tom G. Christensen wrote:
Christoph Maser wrote:
Am Dienstag, den 07.07.2009, 18:32 +0200 schrieb Joe Ogulin:
> Error: Missing Dependency: perl(Normalize::Text::Normalize_Fields) is
> needed by package
> perl-MP3-Tag-1.11-1.el5.rf.noarch (rpmforge)
>
This one i broken. Seems like a mistake from find-requires skript. Is it
ok to simply put "Provides: perl(Normalize::Text::Normalize_Fields)" in
the spec of MP3-Tag? Or is there a way to remove things from requires
list?
To filter the requires list you can put something like this in %prep section
(from evolution28.spec):
# Filter auto-requires
cat > find-requires-%{name} <<EOT
#!/bin/sh
%{__find_requires} | egrep -v 'things you dont want to require'
exit 0
EOT
chmod +x find-requires-%{name}
%define __find_requires %{_builddir}/find-requires-%{name}
Yes, and it is butt-ugly :) I would like to have a set of macros for
making SPEC files more simple and this would be one of them.
--
-- dag wieers, [email protected], http://dag.wieers.com/ --
[Any errors in spelling, tact or fact are transmission errors]
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users