On Čt, 2007-08-30 at 18:42 +0200, Philipp Thomas wrote:
> * Paul Elliott ([EMAIL PROTECTED]) [20070823 23:59]:
> 
> > Also I would like to understand %gconf_schemas_prereq
> > What does this macro do? Where is it documented?
> 
> From /etc/rpm/macros.gconf2:
> 
> %gconf_schemas_prereq PreReq: /usr/bin/gconftool-2 coreutils
> 
> So all it does is insert a PreReq line in the spec file.

And the purpuse:

Future versions of gconf schemas_preun and so on could be different and
could have different requirements. If you use this macro, then you are
on safe side - macro will change as well and you will get correct RPM
again without touching your spec file.

For the same reason %fillup_prereq or %py_requires exist.

-- 
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o.                          e-mail: [EMAIL PROTECTED]
Lihovarská 1060/12                            tel: +420 284 028 966
190 00 Praha 9                                fax: +420 284 028 951
Czech Republic                                http://www.suse.cz/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to