Fix BuildRequires on old platforms
This commit is contained in:
parent
f5d09cc0e8
commit
11812bf048
10
bacula.spec
10
bacula.spec
@ -38,7 +38,7 @@ Patch8: bacula-5.2.2-qt-console-optflags.patch
|
|||||||
BuildRequires: openssl-devel, ncurses-devel, perl, glibc-devel
|
BuildRequires: openssl-devel, ncurses-devel, perl, glibc-devel
|
||||||
BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel
|
BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel
|
||||||
BuildRequires: mysql-devel, postgresql-devel, sqlite-devel
|
BuildRequires: mysql-devel, postgresql-devel, sqlite-devel
|
||||||
BuildRequires: desktop-file-utils, python-devel, lzo-devel, sed
|
BuildRequires: desktop-file-utils, python-devel, sed
|
||||||
BuildRequires: libacl-devel, tetex-latex, tetex, ghostscript
|
BuildRequires: libacl-devel, tetex-latex, tetex, ghostscript
|
||||||
BuildRequires: readline-devel, libcap-devel
|
BuildRequires: readline-devel, libcap-devel
|
||||||
|
|
||||||
@ -64,6 +64,10 @@ BuildRequires: systemd-units
|
|||||||
BuildRequires: latex2html
|
BuildRequires: latex2html
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
|
||||||
|
BuildRequires: lzo-devel >= 2.02
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bacula is a set of programs that allow you to manage the backup,
|
Bacula is a set of programs that allow you to manage the backup,
|
||||||
recovery, and verification of computer data across a network of
|
recovery, and verification of computer data across a network of
|
||||||
@ -321,7 +325,7 @@ export CPPFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/ncurses"
|
|||||||
$*
|
$*
|
||||||
}
|
}
|
||||||
|
|
||||||
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
||||||
export QMAKE=/usr/bin/qmake-qt4
|
export QMAKE=/usr/bin/qmake-qt4
|
||||||
build --enable-bat --htmldir=%{_datadir}/doc/bacula-console-bat-%{version}
|
build --enable-bat --htmldir=%{_datadir}/doc/bacula-console-bat-%{version}
|
||||||
%else
|
%else
|
||||||
@ -764,7 +768,7 @@ fi
|
|||||||
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
|
%attr(644,root,root) %config(noreplace) %{_sysconfdir}/bacula/bconsole.conf
|
||||||
%{_mandir}/man8/bconsole.8.gz
|
%{_mandir}/man8/bconsole.8.gz
|
||||||
|
|
||||||
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
|
%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
|
||||||
%files console-bat
|
%files console-bat
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
|
%doc %{_datadir}/doc/bacula-console-bat-%{version}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user