summaryrefslogtreecommitdiffstats
path: root/php-deepend-Mockery.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-02-24 09:44:52 +0100
committerRemi Collet <remi@remirepo.net>2020-02-24 09:44:52 +0100
commitaea2f43816a367c0526c9561293e9d86b8b2e110 (patch)
treeef4c991c303a7ce8b4aaeedec9290448f5fafb12 /php-deepend-Mockery.spec
parent8215ad9e9ddf7e5f749aca1ad9faa2f4486a3ffa (diff)
sync with FedoraHEADmaster
Diffstat (limited to 'php-deepend-Mockery.spec')
-rw-r--r--php-deepend-Mockery.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-deepend-Mockery.spec b/php-deepend-Mockery.spec
index 7a7045b..e04b532 100644
--- a/php-deepend-Mockery.spec
+++ b/php-deepend-Mockery.spec
@@ -11,11 +11,13 @@
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner padraic
%global gh_project mockery
-%global with_tests 0%{!?_without_tests:1}
+
+# Build using "--with tests" to enable tests
+%global with_tests 0%{?_with_tests:1}
Name: php-deepend-Mockery
Version: 0.9.11
-Release: 1%{?dist}
+Release: 4%{?dist}
Summary: Mockery is a simple but flexible PHP mock object framework
License: BSD
@@ -68,8 +70,8 @@ Obsoletes: php-channel-deepend <= 1.3
%description
-Mockery is a simple but flexible PHP mock object framework for use in unit
-testing. It is inspired by Ruby's flexmock and Java's Mockito, borrowing
+Mockery is a simple but flexible PHP mock object framework for use in unit
+testing. It is inspired by Ruby's flexmock and Java's Mockito, borrowing
elements from both of their APIs.
To use this library, you just have to add, in your project:
@@ -103,7 +105,7 @@ sed -e 's:@BUILD@:%{buildroot}/%{_datadir}/php:' -i tests/Bootstrap.php
: Run upstream test suite
ret=0
-for cmd in php php70 php71 php72 php73; do
+for cmd in php php72 php73 php74; do
if which $cmd; then
$cmd %{_bindir}/phpunit --verbose || ret=1
fi
@@ -129,6 +131,10 @@ fi
%changelog
+* Sun Feb 23 2020 Shawn Iwinski <shawn@iwin.ski> - 0.9.11-4
+- Disable tests by default
+- Fix FTBFS (RHBZ #1799867)
+
* Wed Feb 13 2019 Remi Collet <remi@remirepo.net> - 0.9.11-1
- update to 0.9.11