From e577f4b73e1b9889f3461d37b43db59a7b9f1415 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Nov 2020 09:23:47 +0100 Subject: test build --- php-pecl-ds.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'php-pecl-ds.spec') diff --git a/php-pecl-ds.spec b/php-pecl-ds.spec index 3e4173e..4bd8e67 100644 --- a/php-pecl-ds.spec +++ b/php-pecl-ds.spec @@ -42,6 +42,8 @@ Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz # in composer.json: "require-dev": { "php-ds/tests": "dev-master" } Source1: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{gh_short}.tar.gz +Patch0: 0001-review-object-management.patch + BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7 BuildRequires: %{?scl_prefix}php-pear @@ -51,6 +53,8 @@ BuildRequires: %{?scl_prefix}php-json BuildRequires: %{_bindir}/phpunit6 BuildRequires: %{_bindir}/phpab %endif +#BuildRequires: php-debuginfo +#BuildRequires: gdb Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -101,6 +105,7 @@ mv %{gh_project}-%{gh_commit} tests %{?_licensedir:sed -e '/LICENSE/s/role="doc"/role="src"/' -i package.xml} cd NTS +%patch0 -p1 # Sanity check, really often broken extver=$(sed -n '/#define PHP_DS_VERSION/{s/.* "//;s/".*$//;p}' php_ds.h) -- cgit