On Wed, 2009-07-08 at 13:20 +0200, Dag Wieers wrote:
> On Wed, 8 Jul 2009, Tom G. Christensen wrote:
> > 
> > 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.

Errr... http://dag.wieers.com/rpm/packages/rpm-macros-rpmforge/ ?
 
-- 
Sincerely yours,
Yury V. Zaytsev

_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users

Reply via email to