[opensuse-packaging] BuildRequires query
Hello On a package I need to ensure Apache and MySQL are installed as prerequsites. Are these items valid for a .specfile ?, if not what should the names be for Apache and MySQL. BuildRequires: Apache BuildRequires: MySQL Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Le mardi 27 octobre 2009, doiggl@velocitynet.com.au a écrit :
Hello On a package I need to ensure Apache and MySQL are installed as prerequsites. Are these items valid for a .specfile ?, if not what should the names be for Apache and MySQL.
BuildRequires: Apache BuildRequires: MySQL
Do you need them to _build_ your package or to _run_ it? I'd be very surprised if you need them at build time. If you need something at build time that would rather be header files, from -devel packages. -- Jean Delvare Suse L3 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
. On Tue, 27 Oct 2009 10:26:00 +0100, Jean Delvare <jdelvare@suse.de> wrote:
Le mardi 27 octobre 2009, doiggl@velocitynet.com.au a écrit :
Hello On a package I need to ensure Apache and MySQL are installed as prerequsites. Are these items valid for a .specfile ?, if not what should the names be for Apache and MySQL.
BuildRequires: Apache BuildRequires: MySQL
Do you need them to _build_ your package or to _run_ it? I'd be very surprised if you need them at build time. If you need something at build time that would rather be header files, from -devel packages.
I need the packages installed so the package will _run_ so it would be good to check that they are indeed installed. Full log-> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=koha-3-00-03&project=home%3Adoiggl&repository=openSUSE_Factory Project ->https://build.opensuse.org/package/show?package=koha-3-00-03&project=home%3Adoiggl Wiki -> http://wiki.koha.org/doku.php?id=opensuse_11.0%E2%80%8F Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 27/10/09 10:00, doiggl@velocitynet.com.au wrote:
.
On Tue, 27 Oct 2009 10:26:00 +0100, Jean Delvare <jdelvare@suse.de> wrote:
Le mardi 27 octobre 2009, doiggl@velocitynet.com.au a écrit :
Hello On a package I need to ensure Apache and MySQL are installed as prerequsites. Are these items valid for a .specfile ?, if not what should the names be for Apache and MySQL.
BuildRequires: Apache BuildRequires: MySQL
Do you need them to _build_ your package or to _run_ it? I'd be very surprised if you need them at build time. If you need something at build time that would rather be header files, from -devel packages.
I need the packages installed so the package will _run_ so it would be good to check that they are indeed installed.
If package is a web application that simply requires a webserver Requires: http_daemon if what you need is apache specifically Requires: apache2 Now, if the application is an apache _module_ , spec file must : Requires: apache2 %{apache_mmn} In the mysql case, spec has to Requires: mysql -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Cristian Rodríguez
-
doiggl@velocitynet.com.au
-
Jean Delvare