summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Iwinski <shawn@iwin.ski>2017-09-22 22:07:41 +0000
committerRemi Collet <remi@remirepo.net>2017-09-23 07:51:02 +0200
commit08a997c4b658e416525815b91a8bf26320798af1 (patch)
tree457067758ac7434229429a42b70e1977541c6f28
parent9238e4af712854e9ced32c1fddf42e9412eb6b60 (diff)
Fix autoloader for Symfony 3
-rw-r--r--php-behat-mink.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-behat-mink.spec b/php-behat-mink.spec
index 1a5ed73..5e6bc7f 100644
--- a/php-behat-mink.spec
+++ b/php-behat-mink.spec
@@ -33,7 +33,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 3%{?dist}
+Release: 5%{?dist}
Summary: Browser controller/emulator abstraction for PHP
Group: Development/Libraries
@@ -158,7 +158,10 @@ require_once '%{phpdir}/Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addPsr4('Behat\\Mink\\', __DIR__);
\Fedora\Autoloader\Dependencies::required(array(
- '%{phpdir}/Symfony/Component/CssSelector/autoload.php',
+ array(
+ '%{phpdir}/Symfony3/Component/CssSelector/autoload.php',
+ '%{phpdir}/Symfony/Component/CssSelector/autoload.php',
+ ),
));
AUTOLOAD
@@ -236,6 +239,9 @@ exit $RETURN_CODE
%changelog
+* Fri Sep 22 2017 Shawn Iwinski <shawn@iwin.ski> - 1.7.1-5
+- Fix autoloader for Symfony 3
+
* Fri May 12 2017 Shawn Iwinski <shawn@iwin.ski> - 1.7.1-3
- Switch autoloader to php-composer(fedora/autoloader)
- Add max versions to build dependencies