Hello community,

here is the log from the commit of package php7-phalcon for openSUSE:Factory 
checked in at 2017-10-13 14:20:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/php7-phalcon (Old)
 and      /work/SRC/openSUSE:Factory/.php7-phalcon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "php7-phalcon"

Fri Oct 13 14:20:38 2017 rev:6 rq:533783 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/php7-phalcon/php7-phalcon.changes        
2017-08-22 11:11:18.714154014 +0200
+++ /work/SRC/openSUSE:Factory/.php7-phalcon.new/php7-phalcon.changes   
2017-10-13 14:21:03.131131685 +0200
@@ -1,0 +2,6 @@
+Wed Oct 11 15:12:36 UTC 2017 - [email protected]
+
+- Don't generate c from zephir. Use c code provided by upstream.
+- Drop zephir-0.9.11.tar.gz.
+
+-------------------------------------------------------------------

Old:
----
  zephir-0.9.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ php7-phalcon.spec ++++++
--- /var/tmp/diff_new_pack.f5qJwM/_old  2017-10-13 14:21:03.875098975 +0200
+++ /var/tmp/diff_new_pack.f5qJwM/_new  2017-10-13 14:21:03.879098799 +0200
@@ -18,9 +18,8 @@
 
 %define _name       phalcon
 %define _cname      cphalcon
-%define _zname      zephir
-%define _zversion   0.9.11
 %define _php        php7
+%define _architecture   %([[ %{_arch} == "i586" ]] && echo "32bits" || echo 
"64bits")
 
 Name:           %{_php}-phalcon
 Version:        3.2.2
@@ -29,14 +28,12 @@
 License:        BSD-3-Clause
 Group:          Development/Libraries/PHP
 Url:            http://phalconphp.com/
-Source0:        %{_cname}-%{version}.tar.gz
-Source1:        %{_zname}-%{_zversion}.tar.gz
+Source0:        
https://github.com/%{_name}/%{_cname}/archive/v%{version}.tar.gz#/%{_cname}-%{version}.tar.gz
 BuildRequires:  %{_php}-ctype
 BuildRequires:  %{_php}-devel
 BuildRequires:  %{_php}-json
 BuildRequires:  %{_php}-pdo
 BuildRequires:  gcc
-BuildRequires:  re2c >= 0.13.4
 Requires:       %{_php}-mysql
 
 %description
@@ -59,29 +56,18 @@
 
 %prep
 %setup -q -n %{_cname}-%{version}
-%setup -qTD -a1 -n %{_cname}-%{version}
 
 %build
-export CFLAGS="%{optflags} -g3 -O1 -std=gnu90 -DZEPHIR_RELEASE=1"
-cd %{_zname}-%{_zversion}/parser/parser
-sh build_linux.sh
-cd ..
-phpize
-./configure --enable-zephir_parser
-make %{?_smp_mflags}
-
-cd ../..
-php -d memory_limit=512M -d 
extension=%{_zname}-%{_zversion}/parser/modules/zephir_parser.so 
%{_zname}-%{_zversion}/compiler.php generate --parser-compiled=yes
-cd ext
+cd build/%{_php}/%{_architecture}
 phpize
 %configure --enable-%{_name}
-make %{?_smp_mflags}
+make VERBOSE=1 %{?_smp_mflags}
 
 %install
 mkdir -p %{buildroot}%{_libdir}/%{_php}/extensions
 mkdir -p %{buildroot}%{_sysconfdir}/%{_php}/conf.d
-cd ext
-make install INSTALL_ROOT=%{buildroot}
+cd build/%{_php}/%{_architecture}
+make INSTALL_ROOT=%{buildroot} install-modules
 
 echo "; comment out next line to disable %{_name} extension in php" > 
%{buildroot}/%{_sysconfdir}/%{_php}/conf.d/%{_name}.ini
 echo "extension=%{_name}.so" >> 
%{buildroot}/%{_sysconfdir}/%{_php}/conf.d/%{_name}.ini


Reply via email to