summaryrefslogtreecommitdiffstats
path: root/php-phpspec.spec
diff options
context:
space:
mode:
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