summaryrefslogtreecommitdiffstats
path: root/php-pecl-dbase.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-dbase.spec')
-rw-r--r--php-pecl-dbase.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-dbase.spec b/php-pecl-dbase.spec
index e391ab5..39473b7 100644
--- a/php-pecl-dbase.spec
+++ b/php-pecl-dbase.spec
@@ -30,6 +30,7 @@ URL: http://pecl.php.net/package/%{pecl_name}
Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz
Patch0: %{pecl_name}-rev347132.patch
+Patch1: %{pecl_name}-rev347133.patch
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel > 7
@@ -96,7 +97,10 @@ sed -e 's/role="test"/role="src"/' \
-i package.xml
cd NTS
-%patch0 -p3 -b .up
+%patch0 -p3 -b .up1
+%patch1 -p3 -b .up2
+
+chmod -wx *.c *.h
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_DBASE_VERSION/{s/.* "//;s/".*$//;p}' php_dbase.h)
@@ -235,6 +239,7 @@ REPORT_EXIT_STATUS=1 \
* Thu Apr 4 2019 Remi Collet <remi@remirepo.net> - 7.0.0-0.7.RC1
- update to 7.0.0RC1
- add upstream patch to fix BC of dbase_create
+- add upstream patch to fix test suite on 32-bit
* Thu Aug 16 2018 Remi Collet <remi@remirepo.net> - 7.0.0-0.6.beta1
- rebuild for 7.3.0beta2 new ABI