summaryrefslogtreecommitdiffstats
path: root/php-phpunit-diff.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-08 08:58:15 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-08 08:58:15 +0100
commit86fc588559b5ef7393531179e54d9186eb20819a (patch)
treecb64bd023c7fe2a53f28cd4edb5738ad6cd10c9e /php-phpunit-diff.spec
parent8cc69c1915a33bcfa69f55561b2cc51ce68e1495 (diff)
php-phpunit-diff: 1.4.1
Diffstat (limited to 'php-phpunit-diff.spec')
-rw-r--r--php-phpunit-diff.spec15
1 files changed, 10 insertions, 5 deletions
diff --git a/php-phpunit-diff.spec b/php-phpunit-diff.spec
index 8793e1e..dd8c7c7 100644
--- a/php-phpunit-diff.spec
+++ b/php-phpunit-diff.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 2b0112e42c338afa9ad9dfeb94d66f6d84c2f828
+%global gh_commit 13edfd8706462032c2f52b4b862974dd46b71c9e
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner sebastianbergmann
%global gh_project diff
@@ -21,7 +21,7 @@
%endif
Name: php-phpunit-diff
-Version: 1.4.0
+Version: 1.4.1
Release: 1%{?dist}
Summary: Diff implementation
@@ -36,7 +36,7 @@ BuildRequires: php(language) >= 5.3.3
BuildRequires: %{_bindir}/phpab
%if %{with_tests}
# from composer.json, "require-dev": {
-# "phpunit/phpunit": "~5"
+# "phpunit/phpunit": "~4.8"
# min version ignored
BuildRequires: php-composer(phpunit/phpunit)
%endif
@@ -83,7 +83,11 @@ cp -pr SebastianBergmann/Diff \
%if %{with_tests}
%check
-phpunit --bootstrap SebastianBergmann/Diff/autoload.php
+%{_bindir}/phpunit --bootstrap SebastianBergmann/Diff/autoload.php
+
+if which php70; then
+ php70 %{_bindir}/phpunit --bootstrap SebastianBergmann/Diff/autoload.php
+fi
%endif
@@ -109,7 +113,8 @@ fi
%changelog
* Sun Dec 6 2015 Remi Collet <remi@fedoraproject.org> - 1.4.0-1
-- update to 1.4.0
+- update to 1.4.1 (no change)
+- run test suite with both php 5 and 7 when available
* Fri Apr 3 2015 Remi Collet <remi@fedoraproject.org> - 1.3.0-1
- update to 1.3.0