Christian Kelly wrote:
> 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.
That is exactly what I have intended, but am not seeing in practice. No
errors, either.
>
> 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
--
Eric Reid
Staff Engineer, Software
Sun Microsystems, Inc.
Phone: +1 269.629.7238
Cell: +1 269.569.1042
Fax: +1 650.352.4428
Blog: http://blogs.sun.com/err
AIM: ereidsan
Skype: erreid