Eric Reid - Sun ISV Engineering wrote:
> All,
>
> Is there some explanation as to what the 'Requires' operator 
> does/assumes in the spec file? The submitted Drupal packages have 
> dependencies on SUNWapch22, and therefore spec file has this line:
>
>     Requires:            SUNWapch22
>
>
> When the package is installed from SJ's /pending, however, SUNWapch22 
> isn't installed from /release (and, yes, /release is one of my valid 
> authorities).
>
> What might I be missing here?
>
> Thx/ERR
>

Requires will add a runtime dependency between your package and apch22, 
meaning, when you install your IPS package, it will install apch22 as well.

BuildRequires will add a build-time dependency on apch22, meaning, the 
package will need to be installed on the system before it can be built.

If you use the former, nothing will happen at build time. If you use the 
latter, when you go to build the package, you'll see an error saying 
that the build failed because apch22 was not installed.

_Christian

Reply via email to