mirror of
https://github.com/Icinga/icinga2.git
synced 2025-06-04 05:40:28 +02:00
Fix detection of sles/suse_version in spec file.
This commit is contained in:
parent
835e395fd6
commit
0e9c527f5a
@ -85,7 +85,7 @@ Requires: boost-regex >= 1.41
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if "%{_vendor}" == "suse"
|
%if "%{_vendor}" == "suse"
|
||||||
%if 0%{?sles_version} == 11
|
%if 0%{?sles_version} >= 1110
|
||||||
BuildRequires: libgfortran46
|
BuildRequires: libgfortran46
|
||||||
BuildRequires: boost-license%{sles_boost_version}
|
BuildRequires: boost-license%{sles_boost_version}
|
||||||
BuildRequires: boost-devel >= 1.41
|
BuildRequires: boost-devel >= 1.41
|
||||||
@ -95,6 +95,7 @@ Requires: libboost_system%{sles_boost_version}
|
|||||||
Requires: libboost_test%{sles_boost_version}
|
Requires: libboost_test%{sles_boost_version}
|
||||||
Requires: libboost_thread%{sles_boost_version}
|
Requires: libboost_thread%{sles_boost_version}
|
||||||
%else
|
%else
|
||||||
|
%if 0%{?suse_version} >= 1210
|
||||||
BuildRequires: boost-devel >= 1.41
|
BuildRequires: boost-devel >= 1.41
|
||||||
Requires: libboost_program_options%{opensuse_boost_version}
|
Requires: libboost_program_options%{opensuse_boost_version}
|
||||||
Requires: libboost_system%{opensuse_boost_version}
|
Requires: libboost_system%{opensuse_boost_version}
|
||||||
@ -103,6 +104,7 @@ Requires: libboost_thread%{opensuse_boost_version}
|
|||||||
Requires: libboost_regex%{opensuse_boost_version}
|
Requires: libboost_regex%{opensuse_boost_version}
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires: %{name}-common = %{version}
|
Requires: %{name}-common = %{version}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user