summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2011-12-06 15:35:38 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit95ed03d90c451bebc5f1a59929a28e89140699e3 (patch)
tree98d1d0ec105a8ba473cfb42280ac7e7dfaa753f6
parent3f7627bdfa10a223bf25f25738afb433fd8baf6c (diff)
downloadbacula-95ed03d90c451bebc5f1a59929a28e89140699e3.zip
bacula-95ed03d90c451bebc5f1a59929a28e89140699e3.tar.gz
- qtver as macro
Changed files: bacula.spec -> 1.189
-rw-r--r--bacula.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/bacula.spec b/bacula.spec
index 121c4cb..aa0e4bb 100644
--- a/bacula.spec
+++ b/bacula.spec
@@ -19,6 +19,7 @@
%undefine with_sqlite3_sync_off
%endif
+%define qtver 4.6.2
Summary: Bacula - The Network Backup Solution
Summary(pl.UTF-8): Bacula - rozwiązanie do wykonywania kopii zapasowych po sieci
Name: bacula
@@ -67,8 +68,8 @@ BuildRequires: python-modules
%if %{with bat}
BuildRequires: QtCore-devel
BuildRequires: QtGui-devel
-BuildRequires: qt4-build >= 4.6.2
-BuildRequires: qt4-qmake >= 4.6.2
+BuildRequires: qt4-build >= %{qtver}
+BuildRequires: qt4-qmake >= %{qtver}
%endif
%{?with_mysql:BuildRequires: mysql-devel}
%{?with_pgsql:BuildRequires: postgresql-devel}
@@ -243,7 +244,7 @@ Summary: Bacula Qt4 Console
Summary(pl.UTF-8): Konsola Baculi oparta na Qt4
Group: Networking/Utilities
Requires(post): sed >= 4.0
-Requires: QtCore >= 4.6.2
+Requires: QtCore >= %{qtver}
Requires: %{name}-common = %{version}-%{release}
%description console-qt4