diff options
Diffstat (limited to 'php.spec')
-rw-r--r-- | php.spec | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -23,8 +23,8 @@ %endif # API/ABI check -%global apiver 20220829 -%global zendver 20220829 +%global apiver 20220830 +%global zendver 20220830 %global pdover 20170320 # Extension version %global oci8ver 3.3.0 @@ -33,7 +33,7 @@ %global _hardened_build 1 # version used for php embedded library soname -%global embed_version 8.2 +%global embed_version 8.3 # Ugly hack. Harcoded values to avoid relocation. %global _httpd_mmn %(cat %{_root_includedir}/httpd/.mmn 2>/dev/null || echo 0) @@ -117,17 +117,18 @@ %global with_httpd2410 0 %endif -%global gh_commit e2e2d2997328951de813fd157b6b4bf8701d8607 +%global gh_commit 9ce6980b4d93d539341807087abef9217cb81351 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -#global gh_date 20220530 +%global gh_date 20230605 %global gh_owner php %global gh_project php-src -%global upver 8.2.7 -%global rcver RC1 +%global upver 8.3.0 +%global rcver -dev +%global lower DEV Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php -Version: %{upver}%{?rcver:~%{rcver}}%{?gh_date:.%{gh_date}} +Version: %{upver}%{?lower:~%{lower}}%{?gh_date:.%{gh_date}} Release: 1%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -239,7 +240,7 @@ BuildRequires: %{?dtsprefix}systemtap-sdt-devel %endif %if 0%{?gh_date} BuildRequires: bison -BuildRequires: re2c +BuildRequires: re2c >= 1.0.3 %endif # used for tests BuildRequires: /bin/ps @@ -392,7 +393,7 @@ Provides: %{?scl_prefix}php-date, %{?scl_prefix}php-date%{?_isa} Provides: bundled(timelib) Provides: %{?scl_prefix}php-exif, %{?scl_prefix}php-exif%{?_isa} Provides: %{?scl_prefix}php-fileinfo, %{?scl_prefix}php-fileinfo%{?_isa} -Provides: bundled(libmagic) = 5.29 +Provides: bundled(libmagic) = 5.43 Provides: %{?scl_prefix}php-filter, %{?scl_prefix}php-filter%{?_isa} Provides: %{?scl_prefix}php-ftp, %{?scl_prefix}php-ftp%{?_isa} Provides: %{?scl_prefix}php-gettext, %{?scl_prefix}php-gettext%{?_isa} @@ -449,6 +450,7 @@ need to install this package. %package opcache Summary: The Zend OPcache License: PHP-3.01 +BuildRequires: pkgconfig(capstone) >= 3.0 Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-zendopcache = %{version} Provides: %{?scl_prefix}php-pecl-zendopcache%{?_isa} = %{version} @@ -985,7 +987,7 @@ cp Zend/asm/LICENSE BOOST_LICENSE cp TSRM/LICENSE TSRM_LICENSE cp sapi/fpm/LICENSE fpm_LICENSE cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE -cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE +# cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE cp ext/bcmath/libbcmath/LICENSE libbcmath_LICENSE cp ext/date/lib/LICENSE.rst timelib_LICENSE @@ -1210,6 +1212,7 @@ build --libdir=%{_libdir}/php \ --enable-pcntl \ --enable-opcache \ --enable-opcache-file \ + --with-capstone \ --enable-phpdbg \ %if %{with imap} --with-imap=shared --with-imap-ssl \ @@ -1712,7 +1715,7 @@ fi %files common -f files.common %doc EXTENSIONS NEWS UPGRADING* README.REDIST.BINS *md docs %license LICENSE TSRM_LICENSE ZEND_LICENSE BOOST_LICENSE -%license libmagic_LICENSE +#license libmagic_LICENSE %license timelib_LICENSE %doc php.ini-* %config(noreplace) %{_sysconfdir}/php.ini @@ -1851,6 +1854,9 @@ fi %changelog +* Mon Jun 5 2023 Remi Collet <remi@remirepo.net> - 8.3.0~DEV.20230605-1 +- update to 8.2.0-dev + * Wed May 24 2023 Remi Collet <remi@remirepo.net> - 8.2.7~RC1-1 - update to 8.2.7RC1 |