--- rpms/smeserver-php-scl/contribs9/smeserver-php-scl.spec 2016/07/27 20:31:00 1.6 +++ rpms/smeserver-php-scl/contribs9/smeserver-php-scl.spec 2017/05/03 20:54:33 1.9 @@ -2,7 +2,7 @@ Summary: SME server php REMI scl %define name smeserver-php-scl Name: %{name} %define version 0.4 -%define release 8 +%define release 11 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -22,13 +22,23 @@ Requires: php55-php-pecl-zip , php55-php Requires: php56 , php56-php , php56-php-bcmath , php56-php-gd , php56-php-imap , php56-php-ldap , php56-php-enchant Requires: php56-php-mbstring , php56-php-pdo , php56-php-tidy , php56-php-mysqlnd , php56-php-xml , php56-php-soap Requires: php56-php-pecl-zip, php56-php-mcrypt +Requires: php70 , php70-php , php70-php-bcmath , php70-php-gd , php70-php-imap , php70-php-ldap , php70-php-enchant +Requires: php70-php-mbstring , php70-php-pdo , php70-php-tidy , php70-php-mysqlnd , php70-php-xml , php70-php-soap +Requires: php70-php-pecl-zip, php70-php-mcrypt +Requires: php71 , php71-php , php71-php-bcmath , php71-php-gd , php71-php-imap , php71-php-ldap , php71-php-enchant +Requires: php71-php-mbstring , php71-php-pdo , php71-php-tidy , php71-php-mysqlnd , php71-php-xml , php71-php-soap +Requires: php71-php-pecl-zip, php71-php-mcrypt AutoReqProv: no Patch0: smeserver-php-scl-0.4.bz9021.addlocales.patch Patch1: smeserver-php-scl-0.4-locale-2016-03-09.patch Patch2: smeserver-php-scl-0.4.bz9558_PearPath.patch Patch3: smeserver-php-scl-0.4.bz9559_WsdlPath_SessionPath.patch +Patch4: smeserver-php-scl-0.4.bz10093-addphp7support.patch %changelog +* Fri Apr 28 2017 Jean-Philipe Pialasse 0.4-11.sme +- added php70 and php71 support [SME: 10093] + * Sun Jun 5 2016 stephane de Labrusse 0.4-8.sme - Added Require php5{4,5,6}-php-mcrypt [SME: 9701] @@ -76,7 +86,7 @@ Allow to use different versions of php w %patch1 -p1 %patch2 -p1 %patch3 -p1 - +%patch4 -p1 %build perl createlinks @@ -89,6 +99,8 @@ rm -f %{name}-%{version}-filelist --file /usr/bin/phpscl/php54_REMI 'attr(0770,root,www)' \ --file /usr/bin/phpscl/php55_REMI 'attr(0770,root,www)' \ --file /usr/bin/phpscl/php56_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php70_REMI 'attr(0770,root,www)' \ + --file /usr/bin/phpscl/php71_REMI 'attr(0770,root,www)' \ $RPM_BUILD_ROOT > %{name}-%{version}-filelist