summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-phpspec.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-phpspec.spec b/php-phpspec.spec
index 1aaabfa..5217599 100644
--- a/php-phpspec.spec
+++ b/php-phpspec.spec
@@ -10,12 +10,13 @@
# For compatibility with SCL
%undefine __brp_mangle_shebangs
-%global gh_commit 8004e609e4d365555a85617c36d30127e3233517
+%global gh_commit 486aaa736e9e24f3e22a6545f6affb88f98e2602
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner phpspec
%global gh_project phpspec
#global prever beta3
-%global with_tests 0%{!?_without_tests:1}
+# passes in local build, fails in mock
+%global with_tests 0%{?_with_tests:1}
# Only allow a single Symfony version
# to ensure components consistency
@@ -24,7 +25,7 @@
%global symfony_max 5
Name: php-phpspec
-Version: 6.1.0
+Version: 6.1.1
Release: 1%{?dist}
Summary: Specification-oriented BDD framework for PHP
@@ -39,6 +40,7 @@ Patch0: %{gh_project}-4-rpm.patch
BuildArch: noarch
BuildRequires: php(language) >= 7.2
+%if %{with_tests}
# remirepo:1
%if 0%{?fedora} >= 27 || 0%{?rhel} >= 8
BuildRequires: (php-composer(phpspec/prophecy) >= 1.9 with php-composer(phpspec/prophecy) < 2)
@@ -63,6 +65,7 @@ BuildRequires: php-symfony4-yaml >= %{symfony_min}
# "phpunit/phpunit": "^7.0",
BuildRequires: php-symfony4-filesystem >= %{symfony_min}
BuildRequires: phpunit7
+%endif
# Autoloader
BuildRequires: php-composer(fedora/autoloader) >= 1
@@ -183,6 +186,9 @@ done
%changelog
+* Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 6.1.1-1
+- update to 6.1.1
+
* Fri Nov 29 2019 Remi Collet <remi@remirepo.net> - 6.1.0-1
- update to 6.1.0
- raise dependency on phpspec/prophecy 1.9