On 06/24/2011 03:41 PM, Iain Arnell wrote:
2011/6/24 Marcela Mašláňová <mmaslano(a)redhat.com>:
>
> Another thing are filters. I suppose it isn't in Guidelines yet, but old
> filters doesn't work, because they do not have support in rpm. You can
> use something like this before prep section in your specfile.
> %{?perl_default_filter}
> %global __provides_exclude
> %{?__provides_exclude}|perl\\(XML::SAX::PurePerl\\)
> %global __requires_exclude
> %{?__requires_exclude}|perl\\(XML::SAX::PurePerl::DTDDecls\\)
Marcela,
since you're checking out all the specs as part of the rebuild, is
there any chance you could do a simple grep for old-style filtering
(i.e. __perl_provides, __perl_requires, filter_provides,
filter_requires) so that we have a list of all specs that need to be
fixed?
It's not so many, only 79. Also if you are not content with content of
/etc/rpm/macros.perl please let me know. It surely needs more work.
--
Marcela Mašláňová
BaseOS team Brno