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-icinga-php-library
Commits
cff7d895
Commit
cff7d895
authored
Jul 20, 2021
by
Johannes Meyer
Browse files
Add missing php extension requirements
parent
a2a52691
Pipeline
#19236
passed with stages
in 8 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
icinga-php-library.spec
View file @
cff7d895
...
...
@@ -13,10 +13,35 @@ URL: https://icinga.com
Source0: https://github.com/Icinga/%{module_name}/archive/v%{version}.tar.gz
BuildArch: noarch
# Define php runtime identifier
%if 0%{?fedora} || 0%{?rhel} || 0%{?amzn}
%if 0%{?rhel} == 7
%define php_scl rh-php73
%endif
%if 0%{?php_scl:1}
%define php_scl_prefix %{php_scl}-
%endif
%define php %{?php_scl_prefix}php
%endif
%if 0%{?suse_version}
%define php php
%endif
%global basedir %{_datadir}/icinga-php/ipl
Requires: icinga-php-common
# php extension requirements
Requires: %{php}-intl
%{?rhel:Requires: %{php}-pdo}
%{?suse_version:Requires: %{php}-gettext %{php}-json %{php}-openssl}
%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30
Requires: %{php}-json
%endif
%description
This project bundles all Icinga PHP libraries into one
piece and can be integrated as library into Icinga Web 2.
...
...
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