Browse Source

php5-5.5.14-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8620 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 10 years ago
parent
commit
d29ec5f36d
1 changed files with 16 additions and 1 deletions
  1. 16 1
      p/php5/php5-vl.spec

+ 16 - 1
p/php5/php5-vl.spec

@@ -51,7 +51,7 @@
 Name: php5
 Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
 Summary(ja): HTML 埋め込み型スクリプト言語 PHP
-Version: 5.5.12
+Version: 5.5.14
 Release: 1%{_dist_release}
 
 Vendor: Project Vine
@@ -96,7 +96,11 @@ BuildRequires: bison
 BuildRequires: bzip2
 BuildRequires: bzip2-devel
 BuildRequires: curl-devel
+%if %{?_dist_release} == "vl6"
 BuildRequires: db4-devel
+%else
+BuildRequires: libdb-devel
+%endif
 BuildRequires: coreutils
 BuildRequires: flex
 BuildRequires: freetype2-devel
@@ -366,7 +370,11 @@ databases.
 Summary: A PostgreSQL database module for PHP.
 Group: Development/Languages
 BuildRequires: openssl-devel
+%if %{?_dist_release} == "vl6"
 BuildRequires: postgresql-devel
+%else
+BuildRequires: libpq-devel
+%endif
 Requires: %{name} = %{version}-%{release}
 Requires: %{name}-pdo
 Provides: %{name}_database
@@ -479,6 +487,7 @@ mkdir -p %{_name}-apache2
 cp %{SOURCE20} %{_name}-apache2/README.vine
 
 #perl -pi -e 's,/freetype2/freetype/,/freetype2/,g' configure
+perl -pi -e 's/for LIB in .+ db4 db; do/for LIB in db; do/' configure
 
 # Source is built three times:
 # once for /usr/bin/php, once for the Apache1 module, once for the Apache2 module.
@@ -967,6 +976,12 @@ rm -f files.*
 
 #======================================================================
 %changelog
+* Fri Jun 27 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.14-1
+- new upstream release.
+
+* Fri May 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.13-1
+- new upstream release.
+
 * Thu May  1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.12-1
 - new upstream release.