Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
rpm-icinga2
Commits
d09a215e
Commit
d09a215e
authored
Mar 14, 2019
by
Markus Frosch
Browse files
Support different provides for boost on SUSE
parent
8bf85c34
Pipeline
#3570
passed with stages
in 57 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
icinga2.spec
View file @
d09a215e
...
...
@@ -146,22 +146,22 @@ BuildRequires: make
%if 0%{?suse_version} >= 1315
# SLES 12 and OpenSUSE 42 or later
%define boost_devel_pkg %nil
# Using the split
# Provided by packages.icinga.com or OS, when boost is newer than %%{boost_min_version}
BuildRequires: libboost_context-devel-impl >= %{boost_min_version}
BuildRequires: libboost_coroutine-devel-impl >= %{boost_min_version}
BuildRequires: libboost_program_options-devel-impl >= %{boost_min_version}
BuildRequires: libboost_regex-devel-impl >= %{boost_min_version}
BuildRequires: libboost_system-devel-impl >= %{boost_min_version}
BuildRequires: libboost_thread-devel-impl >= %{boost_min_version}
BuildRequires: libboost_test-devel-impl >= %{boost_min_version}
%if 0%{?suse_version} < 1320
# before SLES 15 and OpenSUSE 15
# Provided by packages.icinga.com
%define boost_library icinga-boost
%define boost_version 1.69
%define boost_rpath %{_libdir}/%{boost_library}
# Note: the -impl suffix comes from current packages on OBS
%define boost_devel_suffix -impl
%endif # suse_version < 1320
BuildRequires: libboost_context-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_coroutine-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_program_options-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_regex-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_system-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_thread-devel%{?boost_devel_suffix} >= %{boost_min_version}
BuildRequires: libboost_test-devel%{?boost_devel_suffix} >= %{boost_min_version}
%else # suse_version >= 1315
# old boost devel name
%define boost_devel_pkg boost-devel
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment