[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What is the difference between BuildRequires and Requires tag ?




On Aug 17, 2005, at 8:52 PM, Adrian Mak wrote:

I read dovecot rpm spec file

it has following lines

BuildRequires: mysql-devel
BuildRequires: postgresql-devel
BuildRequires: openssl-devel
BuildRequires: openldap-devel

If it change to
Requires: mysql-devel
Requires: postgresql-devel
Requires: openssl-devel
Requires: openldap-devel

are they the same ?

No.

BuildRequires are packages necessary to build the software. Obviously the above package needs the header files to those packages to successfully build. But once the package is built, it doesn't care if the headers are there when it installs.

--
Nathanael Noblet
Gnat Solutions
http://www.gnat.ca/
T 250.385.4613
C 250.893.4613




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]