From 12eebbf8536ee2666aa14406094e3a3e972ed5eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 9 Dec 2011 13:42:23 +0000 Subject: [PATCH] - disable bat for ac (needs newer qt than available) Changed files: bacula.spec -> 1.192 --- bacula.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bacula.spec b/bacula.spec index f3b26fb..f27fe62 100644 --- a/bacula.spec +++ b/bacula.spec @@ -6,7 +6,11 @@ # # Conditional build: %bcond_without console_wx # wx-console program +%if "%{pld_release}" == "ac" +%bcond_with bat # bat Qt4 GUI +%else %bcond_without bat # bat Qt4 GUI +%endif %bcond_without mysql # use MySQL %bcond_without pgsql # use PostgreSQL %bcond_without sqlite3 # use SQLite3 @@ -74,6 +78,7 @@ BuildRequires: qt4-qmake >= %{qtver} %{?with_mysql:BuildRequires: mysql-devel} %{?with_pgsql:BuildRequires: postgresql-devel} BuildRequires: readline-devel +BuildRequires: rpm >= 4.4.9-56 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.268 BuildRequires: sed >= 4.0 @@ -244,8 +249,8 @@ Summary: Bacula Qt4 Console Summary(pl.UTF-8): Konsola Baculi oparta na Qt4 Group: Networking/Utilities Requires(post): sed >= 4.0 -Requires: QtCore >= %{qtver} Requires: %{name}-common = %{version}-%{release} +Requires: QtCore >= %{qtver} %description console-qt4 Bacula - It comes by night and sucks the vital essence from your -- 2.44.0