Projects
Kolab:16:Enterprise
libkolab
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 25
View file
libkolab.spec
Changed
@@ -61,8 +61,10 @@ BuildRequires: php-devel >= 5.3 %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} BuildRequires: plesk-php56-devel BuildRequires: plesk-php70-devel +%endif BuildRequires: plesk-php71-devel BuildRequires: plesk-php72-devel BuildRequires: plesk-php73-devel @@ -132,6 +134,7 @@ PHP Bindings for libkolab %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} %package -n plesk-php56-kolab Summary: libkolab bindings for Plesk's PHP 5.6 Group: System Environment/Libraries @@ -151,6 +154,7 @@ %description -n plesk-php70-kolab libkolab bindings for Plesk's PHP 7.0 +%endif %package -n plesk-php71-kolab Summary: libkolab bindings for Plesk's PHP 7.1 @@ -215,10 +219,12 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} cp -a libkolab-%{version} libkolab-%{version}-5.6 cp -a libkolab-%{version} libkolab-%{version}-7.0 sed -i "s/-php/-php7/g" libkolab-%{version}-7.0/cmake/modules/SWIGUtils.cmake +%endif cp -a libkolab-%{version} libkolab-%{version}-7.1 sed -i "s/-php/-php7/g" libkolab-%{version}-7.1/cmake/modules/SWIGUtils.cmake @@ -287,7 +293,11 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} for version in 5.6 7.0 7.1 7.2 7.3 7.4; do +%else +for version in 7.1 7.2 7.3 7.4; do +%endif pushd %{name}-%{version}-${version} rm -rf build mkdir -p build @@ -343,7 +353,11 @@ EOF %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} for version in 5.6 7.0 7.1 7.2 7.3 7.4; do +%else +for version in 7.1 7.2 7.3 7.4; do +%endif pushd %{name}-%{version}-${version} pushd build make install DESTDIR=%{buildroot} INSTALL='install -p' @@ -419,6 +433,7 @@ %{php_extdir}/dummy.so %if 0%{?plesk} +%if 0%{?rhel} < 8 || 0%{?fedora} %files -n plesk-php56-kolab %defattr(-,root,root,-) /opt/plesk/php/5.6/lib64/php/modules/*.so @@ -432,6 +447,7 @@ /opt/plesk/php/7.0/share/php/*.php /opt/plesk/php/7.0/etc/php.d/*.ini /opt/plesk/php/7.0/etc/php-fpm.d/*.ini +%endif %files -n plesk-php71-kolab %defattr(-,root,root,-)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.