瀏覽代碼

php72-7.2.1-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11370 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 7 年之前
父節點
當前提交
09fc9cb0d6
共有 1 個文件被更改,包括 8 次插入4 次删除
  1. 8 4
      p/php72/php72-vl.spec

+ 8 - 4
p/php72/php72-vl.spec

@@ -51,7 +51,7 @@ Name: php72
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Summary(ja): HTML 埋め込み型スクリプト言語 PHP
 Version: 7.2.1
-Release: 1%{_dist_release}
+Release: 2%{_dist_release}
 Conflicts: php5 < 5.6.11
 
 Vendor: Project Vine
@@ -125,6 +125,7 @@ BuildRequires: sqlite3-devel
 BuildRequires: zlib-devel
 BuildRequires: libicu-devel >= 3.6
 BuildRequires: libXpm-devel
+BuildRequires: libzip-devel
 %if %{?_dist_release} != "vl4"
 BuildRequires: krb5-devel
 %endif
@@ -490,10 +491,10 @@ ln -sf ../configure
 
 %if %{with debug}
 export CFLAGS="%{optflags} -fPIC -g"
-export CXXFLAGS="%{optflags} -fPIC -g"
+export CXXFLAGS="%{optflags} -fPIC --std=c++0x -g"
 %else
 export CFLAGS="%{optflags} -fPIC"
-export CXXFLAGS="%{optflags} -fPIC"
+export CXXFLAGS="%{optflags} -fPIC --std=c++0x"
 %endif
 
 
@@ -526,7 +527,7 @@ export CXXFLAGS="%{optflags} -fPIC"
   --enable-sockets \
   --enable-sysvmsg --enable-sysvsem --enable-sysvshm \
   --enable-wddx \
-  --enable-zip=shared \
+  --enable-zip=shared --with-libzip \
   --with-bz2 \
   --with-curl \
   --with-jpeg-dir=%{_prefix} --with-png-dir=%{_prefix} --with-freetype-dir=%{_prefix} \
@@ -1006,6 +1007,9 @@ rm -f files.*
 
 #======================================================================
 %changelog
+* Mon Jan 08 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.1-2
+- rebuilt with libicu-60.2.
+
 * Thu Jan 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.2.1-1
 - new upstream release.