Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpm-icinga2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
packaging
rpm-icinga2
Commits
8ead259f
Unverified
Commit
8ead259f
authored
5 years ago
by
FrostbyteGR
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix icinga2.spec
Remove irrelevant macros, fix %package and %file sections.
parent
162a2ca8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga2.spec
+8
-18
8 additions, 18 deletions
icinga2.spec
with
8 additions
and
18 deletions
icinga2.spec
+
8
−
18
View file @
8ead259f
...
...
@@ -70,10 +70,7 @@
%bcond_without lto_build
%bcond_with systemd_and_init
%bcond_without checker
%bcond_without compat
%bcond_with demo
%bcond_with hello
%bcond_without livestatus
%bcond_without notification
%bcond_without perfdata
...
...
@@ -245,6 +242,7 @@ Group: Documentation/Other
This subpackage provides documentation for Icinga 2.
%if %{with mysql}
%package ido-mysql
Summary: IDO MySQL database backend for Icinga 2
Group: System/Monitoring
...
...
@@ -263,8 +261,10 @@ Requires: %{name}-bin = %{version}-%{release}
%description ido-mysql
Icinga 2 IDO mysql database backend. Compatible with Icinga 1.x
IDOUtils schema >= 1.12
%endif
%if %{with pgsql}
%package ido-pgsql
Summary: IDO PostgreSQL database backend for Icinga 2
Group: System/Monitoring
...
...
@@ -278,6 +278,7 @@ Requires: %{name}-bin = %{version}-%{release}
%description ido-pgsql
Icinga 2 IDO PostgreSQL database backend. Compatible with Icinga 1.x
IDOUtils schema >= 1.12
%endif
%if 0%{?use_selinux}
%global selinux_variants mls targeted
...
...
@@ -373,26 +374,11 @@ CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=OFF"
%endif
%if %{with checker}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_CHECKER=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_CHECKER=OFF"
%endif
%if %{with compat}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_COMPAT=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_COMPAT=OFF"
%endif
%if %{with demo}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_DEMO=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_DEMO=OFF"
%endif
%if %{with hello}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_HELLO=ON"
%else
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_HELLO=OFF"
%endif
%if %{with livestatus}
CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_WITH_LIVESTATUS=ON"
%else
...
...
@@ -796,19 +782,23 @@ fi
%{_datadir}/doc/%{name}
%docdir %{_datadir}/doc/%{name}
%if %{with mysql}
%files ido-mysql
%defattr(-,root,root,-)
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/features-available/ido-mysql.conf
%{_libdir}/%{name}/libmysql_shim*
%{_datadir}/icinga2-ido-mysql
%endif
%if %{with pgsql}
%files ido-pgsql
%defattr(-,root,root,-)
%doc COPYING README.md NEWS AUTHORS CHANGELOG.md
%config(noreplace) %attr(0640,%{icinga_user},%{icinga_group}) %{_sysconfdir}/%{name}/features-available/ido-pgsql.conf
%{_libdir}/%{name}/libpgsql_shim*
%{_datadir}/icinga2-ido-pgsql
%endif
%if 0%{?use_selinux}
%files selinux
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment