http://bugzilla.novell.com/show_bug.cgi?id=613965 http://bugzilla.novell.com/show_bug.cgi?id=613965#c6 Peter Bowen <pzb@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WONTFIX | --- Comment #6 from Peter Bowen <pzb@novell.com> 2010-06-14 13:01:18 UTC --- Yes, you need to calculate the requirements of packages that in the build requires list. However, as I said above, these macros are expanded at build time, not install time. It is completely valid for a specfile to have: Name: myPkg BuildRequires: pkgA Requires: pkgB In this case, pkgA should be installed when building myPkg but not when installing the package itself. And pkgB should be installed when installing myPkg, but not when building myPkg. If the following is in the spec: Requires: %(echo "pkgB") Then the resulting package will have just pkgB as the dependency. The macro will not be embedded in the dependency. Put another way, all of the following are equivalent: Requires: pkgB Requires: %(echo "pkgB") %define ineed pkgB Requires: %ineed In all those cases, the explicit pkgB will end up in the rpm header. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.