summaryrefslogtreecommitdiffstats
path: root/php-phpspec.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-08 08:54:54 +0200
committerRemi Collet <remi@remirepo.net>2017-05-08 08:54:54 +0200
commit86c95fba1b0a5e9ae9d1124a5da5821d3a7b9bc9 (patch)
treedaba119cdbdcb46c55d1c0e9397c8ed366c7ec9a /php-phpspec.spec
parent57f13599e83b77c6acd2a29e9dba933fa4e8abf1 (diff)
fix autoloader for Symfony 3
Diffstat (limited to 'php-phpspec.spec')
-rw-r--r--php-phpspec.spec28
1 files changed, 20 insertions, 8 deletions
diff --git a/php-phpspec.spec b/php-phpspec.spec
index be98448..6f0153f 100644
--- a/php-phpspec.spec
+++ b/php-phpspec.spec
@@ -14,7 +14,7 @@
Name: php-phpspec
Version: 3.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Specification-oriented BDD framework for PHP
Group: Development/Libraries
@@ -28,20 +28,28 @@ Source1: %{gh_project}-autoload.php
Patch0: %{gh_project}-3-rpm.patch
BuildArch: noarch
-BuildRequires: php-composer(phpspec/prophecy) >= 1.4
+BuildRequires: php-composer(phpspec/prophecy) < 2
+BuildRequires: php-composer(phpspec/prophecy) >= 1.5
+BuildRequires: php-composer(phpspec/php-diff) < 2
BuildRequires: php-composer(phpspec/php-diff) >= 1.0.0
-BuildRequires: php-composer(symfony/console) >= 2.3.0
-BuildRequires: php-composer(symfony/event-dispatcher) >= 2.1
-BuildRequires: php-composer(symfony/finder) >= 2.1
-BuildRequires: php-composer(symfony/process) >= 2.6
-BuildRequires: php-composer(symfony/yaml) >= 2.1
+BuildRequires: php-composer(symfony/console) < 4
+BuildRequires: php-composer(symfony/console) >= 3
+BuildRequires: php-composer(symfony/event-dispatcher) < 4
+BuildRequires: php-composer(symfony/event-dispatcher) >= 3
+BuildRequires: php-composer(symfony/finder) < 4
+BuildRequires: php-composer(symfony/finder) >= 3
+BuildRequires: php-composer(symfony/process) < 4
+BuildRequires: php-composer(symfony/process) >= 3
+BuildRequires: php-composer(symfony/yaml) < 4
+BuildRequires: php-composer(symfony/yaml) >= 3
+BuildRequires: php-composer(doctrine/instantiator) < 2
BuildRequires: php-composer(doctrine/instantiator) >= 1.0.1
# From composer.json, require-dev
# "behat/behat": "^3.3",
# "symfony/filesystem": "^3.0",
# "phpunit/phpunit": "^5.5|^6.0",
# "ciaranmcnulty/versionbasedtestskipper": "^0.2.1"
-BuildRequires: php-composer(symfony/filesystem) >= 2.1
+BuildRequires: php-composer(symfony/filesystem) >= 3
%if 0%{?fedora} >= 26
BuildRequires: php-composer(sebastian/exporter) < 4
%global phpunit %{_bindir}/phpunit6
@@ -190,6 +198,10 @@ fi
%changelog
+* Mon May 8 2017 Remi Collet <remi@remirepo.net> - 3.3.0-2
+- fix autoloader for Symfony 3
+- always use symfony 3 during the build (per upstream)
+
* Thu Apr 27 2017 Remi Collet <remi@remirepo.net> - 3.3.0-1
- Update to 3.3.0
- use phpunit6 on F26+