Projects
Kolab:16:Testing
libkolabxml
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 15
View file
libkolabxml.spec
Changed
@@ -329,6 +329,16 @@ %description -n plesk-php81-kolabformat libkolabxml bindings for Plesk's PHP 8.1 +%package -n plesk-php82-kolabformat +Summary: libkolabxml bindings for Plesk's PHP 8.2 +Group: System Environment/Libraries +Provides: php-bindings(libkolabxml) = %{version}-%{release} +Requires: libkolabxml%{?_isa} = %{version} +Requires: plesk-php82 + +%description -n plesk-php82-kolabformat +libkolabxml bindings for Plesk's PHP 8.2 + %endif # if 0%{?plesk} %if 0%{?with_python} > 0 @@ -393,6 +403,9 @@ cp -a libkolabxml-%{version} libkolabxml-%{version}-8.1 sed -i "s/-php/-php7/g" libkolabxml-%{version}-8.1/src/php/CMakeLists.txt + +cp -a libkolabxml-%{version} libkolabxml-%{version}-8.2 +sed -i "s/-php/-php7/g" libkolabxml-%{version}-8.2/src/php/CMakeLists.txt %endif %if 0%{?with_php7} @@ -422,6 +435,7 @@ 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/. +cp %{name}-%{version}/tztable.h %{name}-%{version}-8.2/. %endif %if 0%{?with_python3} > 0 cp %{name}-%{version}/tztable.h %{name}-%{version}-python3/. @@ -510,9 +524,9 @@ %if 0%{?plesk} %if 0%{?rhel} < 9 -for version in 7.2 7.3 7.4 8.0 8.1; do +for version in 7.2 7.3 7.4 8.0 8.1 8.2; do %else -for version in 7.4 8.0 8.1; do +for version in 7.4 8.0 8.1 8.2; do %endif pushd %{name}-%{version}-${version} rm -rf build @@ -567,9 +581,9 @@ %if 0%{?plesk} %if 0%{?rhel} < 9 -for version in 7.2 7.3 7.4 8.0 8.1; do +for version in 7.2 7.3 7.4 8.0 8.1 8.2; do %else -for version in 7.4 8.0 8.1; do +for version in 7.4 8.0 8.1 8.2; do %endif pushd %{name}-%{version}-${version} pushd build @@ -614,9 +628,9 @@ %if 0%{?plesk} %if 0%{?rhel} < 9 -for version in 7.2 7.3 7.4 8.0 8.1; do +for version in 7.2 7.3 7.4 8.0 8.1 8.2; do %else -for version in 7.4 8.0 8.1; do +for version in 7.4 8.0 8.1 8.2; do %endif pushd %{name}-%{version}-${version}/build/ @@ -701,6 +715,12 @@ /opt/plesk/php/8.1/etc/php.d/kolabformat.ini /opt/plesk/php/8.1/etc/php-fpm.d/kolabformat.ini +%files -n plesk-php82-kolabformat +%defattr(-,root,root,-) +/opt/plesk/php/8.2/lib64/php/modules/kolabformat.so +/opt/plesk/php/8.2/etc/php.d/kolabformat.ini +/opt/plesk/php/8.2/etc/php-fpm.d/kolabformat.ini + %endif # if 0%{?plesk} %endif # if 0%{?with_php}
View file
debian.rules
Changed
@@ -5,7 +5,7 @@ PHPEXT := $(shell php-config --extension-dir) PHPINC := $(shell php-config --include-dir) -PHP_VERSIONS=8.1 8.0 7.4 7.3 7.2 +PHP_VERSIONS=8.2 8.1 8.0 7.4 7.3 7.2 export DH_VERBOSE=1 export DH_OPTIONS=-v @@ -139,7 +139,9 @@ mkdir -p debian/tmp/usr/share/php make -C php-vanilla install DESTDIR=$(PWD)/debian/tmp/ ; \ - if -d "/etc/php/8.1/mods-available/" ; then \ + if -d "/etc/php/8.2/mods-available/" ; then \ + echo "debian/kolabformat.ini etc/php/8.2/mods-available" >> debian/php-kolabformat.install ; \ + elif -d "/etc/php/8.1/mods-available/" ; then \ echo "debian/kolabformat.ini etc/php/8.1/mods-available" >> debian/php-kolabformat.install ; \ elif -d "/etc/php/8.0/mods-available/" ; then \ echo "debian/kolabformat.ini etc/php/8.0/mods-available" >> debian/php-kolabformat.install ; \
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
.