|
@@ -1,5 +1,10 @@
|
|
|
|
+%bcond_with debug
|
|
%bcond_without apache2
|
|
%bcond_without apache2
|
|
|
|
|
|
|
|
+%if %{with debug}
|
|
|
|
+%define __spec_install_post /usr/lib/rpm/brp-compress
|
|
|
|
+%endif
|
|
|
|
+
|
|
%global majorver 72
|
|
%global majorver 72
|
|
%global ap_suffix 7
|
|
%global ap_suffix 7
|
|
%global _name php%{majorver}
|
|
%global _name php%{majorver}
|
|
@@ -45,7 +50,7 @@
|
|
Name: php72
|
|
Name: php72
|
|
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.2.0
|
|
|
|
|
|
+Version: 7.2.1
|
|
Release: 1%{_dist_release}
|
|
Release: 1%{_dist_release}
|
|
Conflicts: php5 < 5.6.11
|
|
Conflicts: php5 < 5.6.11
|
|
|
|
|
|
@@ -482,7 +487,16 @@ export EXTENSION_DIR=%{_libdir}/%{_name}
|
|
# Shell function to configure and build a PHP tree.
|
|
# Shell function to configure and build a PHP tree.
|
|
build() {
|
|
build() {
|
|
ln -sf ../configure
|
|
ln -sf ../configure
|
|
-CFLAGS="%{optflags} -fPIC" \
|
|
|
|
|
|
+
|
|
|
|
+%if %{with debug}
|
|
|
|
+export CFLAGS="%{optflags} -fPIC -g"
|
|
|
|
+export CXXFLAGS="%{optflags} -fPIC -g"
|
|
|
|
+%else
|
|
|
|
+export CFLAGS="%{optflags} -fPIC"
|
|
|
|
+export CXXFLAGS="%{optflags} -fPIC"
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
+
|
|
%configure \
|
|
%configure \
|
|
--cache-file=../config.cache \
|
|
--cache-file=../config.cache \
|
|
--prefix=%{_prefix} \
|
|
--prefix=%{_prefix} \
|
|
@@ -522,9 +536,7 @@ CFLAGS="%{optflags} -fPIC" \
|
|
--with-gettext \
|
|
--with-gettext \
|
|
--with-gmp \
|
|
--with-gmp \
|
|
--with-imap=shared --with-imap-ssl \
|
|
--with-imap=shared --with-imap-ssl \
|
|
-%if %{?_dist_release} != "vl4"
|
|
|
|
--with-kerberos \
|
|
--with-kerberos \
|
|
-%endif
|
|
|
|
--with-ldap=shared \
|
|
--with-ldap=shared \
|
|
--with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd \
|
|
--with-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd \
|
|
--with-openssl \
|
|
--with-openssl \
|
|
@@ -994,6 +1006,9 @@ rm -f files.*
|
|
|
|
|
|
#======================================================================
|
|
#======================================================================
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Jan 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.0-1
|
|
* Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- changed %%name.
|
|
- changed %%name.
|