Projects
Kolab:16:Testing
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
libkolabxml.spec
Changed
@@ -377,12 +377,14 @@ %endif %if 0%{?plesk} +%if 0%{?rhel} < 9 cp -a libkolabxml-%{version} libkolabxml-%{version}-7.2 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.2/src/php/CMakeLists.txt cp -a libkolabxml-%{version} libkolabxml-%{version}-7.3 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.3/src/php/CMakeLists.txt +%endif cp -a libkolabxml-%{version} libkolabxml-%{version}-7.4 sed -i "s/-php/-php7/g" libkolabxml-%{version}-7.4/src/php/CMakeLists.txt @@ -413,8 +415,10 @@ popd %if 0%{?plesk} +%if 0%{?rhel} < 9 cp %{name}-%{version}/tztable.h %{name}-%{version}-7.2/. cp %{name}-%{version}/tztable.h %{name}-%{version}-7.3/. +%endif cp %{name}-%{version}/tztable.h %{name}-%{version}-7.4/. cp %{name}-%{version}/tztable.h %{name}-%{version}-8.0/. cp %{name}-%{version}/tztable.h %{name}-%{version}-8.1/. @@ -505,7 +509,11 @@ %if 0%{?plesk} +%if 0%{?rhel} < 9 for version in 7.2 7.3 7.4 8.0 8.1; do +%else +for version in 7.4 8.0 8.1; do +%endif pushd %{name}-%{version}-${version} rm -rf build mkdir -p build @@ -558,7 +566,11 @@ %endif %if 0%{?plesk} +%if 0%{?rhel} < 9 for version in 7.2 7.3 7.4 8.0 8.1; do +%else +for version in 7.4 8.0 8.1; do +%endif pushd %{name}-%{version}-${version} pushd build make install DESTDIR=%{buildroot} INSTALL='install -p' @@ -601,7 +613,12 @@ %endif %if 0%{?plesk} +%if 0%{?rhel} < 9 for version in 7.2 7.3 7.4 8.0 8.1; do +%else +for version in 7.4 8.0 8.1; do +%endif + pushd %{name}-%{version}-${version}/build/ export LD_LIBRARY_PATH=$( pwd )/src/ /opt/plesk/php/${version}/bin/php -d enable_dl=On -dextension=src/php/kolabformat.so src/php/test.php ||:
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
.