Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
bacula
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
bacula.spec
@@ -103,6 +103,119 @@ # platform defines - set one below or define the build_xxx on the command line # RedHat builds +%if 0%{?redhat_version} == 7 +%define build_rh7 1 +%endif + +%if 0%{?redhat_version} == 8 +%define build_rh8 1 +%endif + +%if 0%{?redhat_version} == 9 +%define build_rh9 1 +%endif + +%if 0%{?fedora_version} == 1 +%define build_fc1 1 +%endif + +%if 0%{?fedora_version} == 2 +%define build_fc2 1 +%endif + +%if 0%{?fedora_version} == 3 +%define build_fc3 1 +%endif + +%if 0%{?fedora_version} == 4 +%define build_fc4 1 +%endif + +%if 0%{?fedora_version} == 5 +%define build_fc5 1 +%endif + +%if 0%{?fedora_version} == 6 +%define build_fc6 1 +%endif + +%if 0%{?fedora_version} == 7 +%define build_fc7 1 +%endif + +%if 0%{?fedora_version} == 8 +%define build_fc8 1 +%endif + +%if 0%{?fedora_version} == 9 +%define build_fc9 1 +%endif + +%if 0%{?fedora_version} == 10 +%define build_fc10 1 +%endif + +%if 0%{?rhel_version} == 3 +%define build_rhel3 1 +%endif + +%if 0%{?rhel_version} == 4 +%define build_rhel4 1 +%endif + +%if 0%{?rhel_version} == 5 +%define build_rhel5 1 +%endif + +%if 0%{?centos_version} == 3 +%define build_centos3 1 +%endif + +%if 0%{?centos_version} == 4 +%define build_centos4 1 +%endif + +%if 0%{?centos_version} == 5 +%define build_centos5 1 +%endif + +%if 0%{?sl_version} == 3 +%define build_sl3 1 +%endif + +%if 0%{?sl_version} == 4 +%define build_sl4 1 +%endif + +%if 0%{?sl_version} == 5 +%define build_sl5 1 +%endif + +%if 0%{?suse_version} >= 900 && 0%{?suse_version} <= 930 || 0%{?sles_version} == 9 +%define build_su9 1 +%endif + +%if 0%{?suse_version} >= 1000 %% 0%{?suse_version} <= 1010 || 0%{?sles_version} == 10 +%define build_su10 1 +%endif + +%if 0%{?suse_version} == 1020 +%define build_su102 1 +%endif + +%if 0%{?suse_version} == 1030 +%define build_su103 1 +%endif + +%if 0%{?suse_version} == 1100 +%define build_su110 1 +%endif + +%if 0%{?mandrake_version} +%define build_mdk 1 +%define build_mdv 1 +%endif + %define rh7 0 %{?build_rh7:%define rh7 1} %define rh8 0 @@ -321,7 +434,7 @@ BuildRequires: gcc, gcc-c++, make, autoconf BuildRequires: ncurses-devel, perl -BuildRequires: libstdc++-devel = %{gccver}-%{gccrel}, libxml2-devel, zlib-devel +BuildRequires: libstdc++-devel, libxml2-devel, zlib-devel BuildRequires: openssl-devel %if %{python} BuildRequires: python, python-devel