|
@@ -10,7 +10,11 @@
|
|
%global ap_suffix 7
|
|
%global ap_suffix 7
|
|
%global _name php%{majorver}
|
|
%global _name php%{majorver}
|
|
|
|
|
|
|
|
+# from main/php.h
|
|
|
|
+# #define PHP_API_VERSION 20190902
|
|
%global php_extension_api 20190902
|
|
%global php_extension_api 20190902
|
|
|
|
+# from Zend/zend_extensions.h
|
|
|
|
+# #define ZEND_EXTENSION_API_NO 320190902
|
|
%global zend_extension_api 320190902
|
|
%global zend_extension_api 320190902
|
|
|
|
|
|
%global srcname php-%{version}
|
|
%global srcname php-%{version}
|
|
@@ -51,7 +55,7 @@
|
|
Name: php%{majorver}
|
|
Name: php%{majorver}
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
Summary(ja): HTML 埋め込み型スクリプト言語 PHP
|
|
-Version: 7.4.7
|
|
+Version: 7.4.8
|
|
Release: 1%{_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{_dist_release}%{?with_systemd:.systemd}
|
|
Conflicts: php5 < 5.6.11
|
|
Conflicts: php5 < 5.6.11
|
|
|
|
|
|
@@ -645,11 +649,10 @@ sed -i \
|
|
%{buildroot}%{php_confdir}/php.ini
|
|
%{buildroot}%{php_confdir}/php.ini
|
|
|
|
|
|
# fix path in phar
|
|
# fix path in phar
|
|
-
|
|
+#perl -pi -e 's|^#!/.+/build-cgi/sapi/cli/php$|#!/usr/bin/%{_name}|' %{buildroot}%{_bindir}/phar.phar
|
|
-perl -pi -e 's|^#!/.+/build-cgi/sapi/cli/php$|#!/usr/bin/%{_name}|' %{buildroot}%{_bindir}/phar.phar
|
|
+#mv %{buildroot}%{_bindir}/phar.phar %{buildroot}%{_bindir}/phar%{majorver}.phar
|
|
-mv %{buildroot}%{_bindir}/phar.phar %{buildroot}%{_bindir}/phar%{majorver}.phar
|
|
+#mv %{buildroot}%{_mandir}/man1/phar.1 %{buildroot}%{_mandir}/man1/phar%{majorver}.1
|
|
-mv %{buildroot}%{_mandir}/man1/phar.1 %{buildroot}%{_mandir}/man1/phar%{majorver}.1
|
|
+#rm %{buildroot}%{_mandir}/man1/phar.phar.1
|
|
-rm %{buildroot}%{_mandir}/man1/phar.phar.1
|
|
|
|
|
|
|
|
%if %{with_pear}
|
|
%if %{with_pear}
|
|
# http://pear.php.net/bugs/bug.php?id=6154
|
|
# http://pear.php.net/bugs/bug.php?id=6154
|
|
@@ -813,6 +816,7 @@ rm -f %{buildroot}%{_bindir}/{pear,peardev,pecl,phar}
|
|
--slave %{_mandir}/man1/php.1.gz php.1.gz %{_mandir}/man1/%{_name}.1.gz \
|
|
--slave %{_mandir}/man1/php.1.gz php.1.gz %{_mandir}/man1/%{_name}.1.gz \
|
|
--slave %{_mandir}/man1/php-cgi.1.gz php-cgi.1.gz %{_mandir}/man1/php-cgi%{majorver}.1.gz \
|
|
--slave %{_mandir}/man1/php-cgi.1.gz php-cgi.1.gz %{_mandir}/man1/php-cgi%{majorver}.1.gz \
|
|
--slave %{_mandir}/man1/phar.1.gz phar.1.gz %{_mandir}/man1/phar%{majorver}.1.gz \
|
|
--slave %{_mandir}/man1/phar.1.gz phar.1.gz %{_mandir}/man1/phar%{majorver}.1.gz \
|
|
|
|
+ --slave %{_mandir}/man1/phar.phar.1.gz phar.phar.1.gz %{_mandir}/man1/phar%{majorver}.phar.1.gz \
|
|
--slave %{_mandir}/man1/phpdbg.1.gz phpdbg.1.gz %{_mandir}/man1/phpdbg%{majorver}.1.gz
|
|
--slave %{_mandir}/man1/phpdbg.1.gz phpdbg.1.gz %{_mandir}/man1/phpdbg%{majorver}.1.gz
|
|
|
|
|
|
# fix broken symlink if it's there
|
|
# fix broken symlink if it's there
|
|
@@ -969,10 +973,12 @@ rm -f files.*
|
|
%{_mandir}/man1/%{_name}.1*
|
|
%{_mandir}/man1/%{_name}.1*
|
|
%{_mandir}/man1/php-cgi%{majorver}.1*
|
|
%{_mandir}/man1/php-cgi%{majorver}.1*
|
|
%{_mandir}/man1/phar%{majorver}.1*
|
|
%{_mandir}/man1/phar%{majorver}.1*
|
|
|
|
+%{_mandir}/man1/phar%{majorver}.phar.1*
|
|
%{_mandir}/man1/phpdbg%{majorver}.1*
|
|
%{_mandir}/man1/phpdbg%{majorver}.1*
|
|
%config(noreplace) %{php_confdir}/php.ini
|
|
%config(noreplace) %{php_confdir}/php.ini
|
|
%{_bindir}/%{_name}
|
|
%{_bindir}/%{_name}
|
|
%{_bindir}/%{_name}-cgi
|
|
%{_bindir}/%{_name}-cgi
|
|
|
|
+%{_bindir}/phar%{majorver}
|
|
%{_bindir}/phar%{majorver}.phar
|
|
%{_bindir}/phar%{majorver}.phar
|
|
%{_bindir}/phpdbg%{majorver}
|
|
%{_bindir}/phpdbg%{majorver}
|
|
%dir %{php_confdir}
|
|
%dir %{php_confdir}
|
|
@@ -1051,6 +1057,9 @@ rm -f files.*
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Jul 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.4.8-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Thu Jun 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.4.7-1
|
|
* Thu Jun 11 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.4.7-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|