Browse Source

meta packages should have run-time dependencies only

master
parent
commit
61b55f1657
  1. 13
      meta-rdbms/meta-rdbms.spec

13
meta-rdbms/meta-rdbms.spec

@ -32,8 +32,8 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [EVAL]
Group: Meta
License: -
Version: 20031129
Release: 20031129
Version: 20040104
Release: 20040104
# package options
%option with_rdbms_sqlite yes
@ -48,38 +48,29 @@ BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20030103
PreReq: OpenPKG, openpkg >= 20030103
%if "%{with_rdbms_sqlite}" == "yes"
BuildPreReq: sqlite
PreReq: sqlite
%endif
%if "%{with_rdbms_pgsql}" == "yes"
BuildPreReq: postgresql
PreReq: postgresql
%if "%{with_perl}" == "yes"
BuildPreReq: postgresql::with_perl = yes
PreReq: postgresql::with_perl = yes
%endif
%if "%{with_x11}" == "yes"
BuildPreReq: pgadmin
PreReq: pgadmin
%endif
%endif
%if "%{with_rdbms_mysql}" == "yes"
BuildPreReq: mysql
PreReq: mysql
%if "%{with_x11}" == "yes"
BuildPreReq: mysqlcc
PreReq: mysqlcc
%endif
%endif
%if "%{with_perl}" == "yes"
BuildPreReq: perl, perl-dbi
PreReq: perl, perl-dbi
%if "%{with_rdbms_pgsql}" == "yes"
BuildPreReq: perl-dbi::with_dbd_pg = yes
PreReq: perl-dbi::with_dbd_pg = yes
%endif
%if "%{with_rdbms_mysql}" == "yes"
BuildPreReq: perl-dbi::with_dbd_mysql = yes
PreReq: perl-dbi::with_dbd_mysql = yes
%endif
%endif

Loading…
Cancel
Save