summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-11 17:49:38 +0100
committerRemi Collet <fedora@famillecollet.com>2014-03-11 17:49:38 +0100
commit77906968522914e770e5e71895eeedbb00614fa8 (patch)
treea87ccb69a4e91275fa31d7ae0e700e3ddd579c4b
parent86508e4208a469389306fcb82b50c553491b7e94 (diff)
php 5.5: test build without libvpx
-rw-r--r--php55.spec15
1 files changed, 14 insertions, 1 deletions
diff --git a/php55.spec b/php55.spec
index b8f0057..9c41e0a 100644
--- a/php55.spec
+++ b/php55.spec
@@ -42,6 +42,12 @@
%global with_libpcre 0
%endif
+%if 0%{?fedora} < 17 && 0%{?rhel} < 7
+%global with_vpx 0
+%else
+%global with_vpx 1
+%endif
+
# Build ZTS extension or only NTS
%global with_zts 1
@@ -116,7 +122,7 @@ Version: 5.5.10
%if 0%{?snapdate:1}%{?rcver:1}
Release: 0.4.%{?snapdate}%{?rcver}%{?dist}
%else
-Release: 1%{?dist}
+Release: 1%{?dist}.1
%endif
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
@@ -697,8 +703,10 @@ BuildRequires: libpng-devel
BuildRequires: freetype-devel
BuildRequires: libXpm-devel
BuildRequires: libXpm-devel
+%if %{with_vpx}
BuildRequires: libvpx-devel
%endif
+%endif
Obsoletes: php53-gd, php53u-gd, php54-gd, php55u-gd
@@ -1072,7 +1080,9 @@ ln -sf ../configure
--with-freetype-dir=%{_prefix} \
--with-png-dir=%{_prefix} \
--with-xpm-dir=%{_prefix} \
+%if %{with_vpx}
--with-vpx-dir=%{_prefix} \
+%endif
--enable-gd-native-ttf \
--with-t1lib=%{_prefix} \
--without-gdbm \
@@ -1879,6 +1889,9 @@ fi
%changelog
+* Tue Mar 11 2014 Remi Collet <remi@fedoraproject.org> 5.5.10-1.1
+- rebuild against gd-last, without libvpx
+
* Wed Mar 5 2014 Remi Collet <remi@fedoraproject.org> 5.5.10-1
- Update to 5.5.10 (security)
http://www.php.net/ChangeLog-5.php#5.5.10