summaryrefslogtreecommitdiffstats
path: root/php-phpspec.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-09-24 11:54:57 +0200
committerRemi Collet <remi@remirepo.net>2018-09-24 11:54:57 +0200
commit04b4612a81bf026e75fa8efbf3c04accd08aa799 (patch)
tree45cf6713b47b69f2f4330d90f19ba83375c6ead6 /php-phpspec.spec
parenta32bde1056ec4680aa5aad33269449e034467c1d (diff)
add patch to fix test with 7.3
Diffstat (limited to 'php-phpspec.spec')
-rw-r--r--php-phpspec.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/php-phpspec.spec b/php-phpspec.spec
index 5996d4c..c473cad 100644
--- a/php-phpspec.spec
+++ b/php-phpspec.spec
@@ -37,6 +37,8 @@ Source1: %{gh_project}-autoload.php
# Use our autoloader
Patch0: %{gh_project}-4-rpm.patch
+# From https://github.com/phpspec/phpspec/pull/1212
+Patch1: 1212.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.1
@@ -131,6 +133,7 @@ refactor this code.
%setup -q -n %{gh_project}-%{gh_commit}
%patch0 -p0 -b .rpm
+%patch1 -p1
sed -e 's/@SYMFONY@/%{symfony_ns}/' \
%{SOURCE1} > src/PhpSpec/autoload.php