]> TLD Linux GIT Repositories - packages/php.git/blobdiff - php.spec
- updated to 7.4.11
[packages/php.git] / php.spec
index 3b89ff3b618eb54e867f29eb54d02b846a2f2da2..3657f0e84c9f8b98f395341c0b44f5e14f78ddc8 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -125,7 +125,7 @@ Summary(pt_BR.UTF-8):       A linguagem de script PHP
 Summary(ru.UTF-8):     PHP Версии 7 - язык препроцессирования HTML-файлов, выполняемый на сервере
 Summary(uk.UTF-8):     PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
 Name:          %{orgname}%{php_suffix}
-Version:       7.4.9
+Version:       7.4.11
 Release:       1
 Epoch:         4
 # All files licensed under PHP version 3.01, except
@@ -134,7 +134,7 @@ Epoch:              4
 License:       PHP 3.01 and Zend and BSD
 Group:         Libraries
 Source0:       http://php.net/distributions/%{orgname}-%{version}.tar.xz
-# Source0-md5: b623bef0da0b7c48477853ca50c989c5
+# Source0-md5: b5e71eecc529621262bbdf5e4bb4986c
 Source1:       opcache.ini
 Source2:       %{orgname}-mod_php.conf
 Source3:       %{orgname}-cgi-fcgi.ini
@@ -254,7 +254,7 @@ BuildRequires:      apr-util-devel >= 1:1.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                php_sysconfdir          /etc/%{name}
-%define                php_extensiondir        %{_libdir}/%{name}
+%define                php_extensiondir        %{_libdir}/php/%{name}
 %define                php_datadir             /usr/share/php/%{name}
 %define                _sysconfdir             %{php_sysconfdir}
 
@@ -571,7 +571,6 @@ Requires:   libtool >= 2:2.4.6
 Requires:      pcre2-8-devel >= 10.30
 Requires:      shtool
 Provides:      php-devel = %{epoch}:%{version}-%{release}
-Obsoletes:     php-devel
 Obsoletes:     php-pear-devel
 Obsoletes:     php4-devel
 Obsoletes:     php52-devel
@@ -2334,7 +2333,7 @@ install -d \
 cp -pf php_config.h.cli main/php_config.h
 cp -pf Makefile.cli Makefile
 %{__make} install \
-       phpbuilddir=%{_libdir}/%{name}/build \
+       phpbuilddir=%{_libdir}/php/php%{php_suffix}/build \
        INSTALL_ROOT=$RPM_BUILD_ROOT
 
 # touch for ghost
@@ -2763,7 +2762,7 @@ fi
 %attr(755,root,root) %{_libdir}/libphp_common%{php_suffix}.so
 %{_libdir}/libphp_common%{php_suffix}.la
 %{_includedir}/php/php%{php_suffix}
-%{_libdir}/%{name}/build
+%{_libdir}/php/php%{php_suffix}/build
 %{_mandir}/man1/php-config%{php_suffix}.1*
 %ghost %{_mandir}/man1/php-config.1*
 %{_mandir}/man1/phpize%{php_suffix}.1*