summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-28 16:14:09 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-28 16:14:09 +0200
commite30886ca577984475c804c64f079d6c27569503f (patch)
tree46b867b94365237276e7f71fbf98cc304ada5deb
parente84432db78a0f1a8a30e943b70a129be6bf12cb8 (diff)
php-mtdowling-transducers: drop dep on php-ereg
-rw-r--r--php-mtdowling-transducers.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/php-mtdowling-transducers.spec b/php-mtdowling-transducers.spec
index c529751..20d909b 100644
--- a/php-mtdowling-transducers.spec
+++ b/php-mtdowling-transducers.spec
@@ -28,7 +28,7 @@
Name: php-%{composer_vendor}-%{composer_project}
Version: %{github_version}
-Release: 1%{?github_release}%{?dist}
+Release: 4%{?github_release}%{?dist}
Summary: Composable algorithmic transformations
Group: Development/Libraries
@@ -48,7 +48,6 @@ BuildArch: noarch
BuildRequires: %{_bindir}/phpunit
BuildRequires: php(language) >= %{php_min_ver}
## phpcompatinfo (computed from version 0.3.0)
-BuildRequires: php-ereg
BuildRequires: php-json
BuildRequires: php-spl
%endif
@@ -56,7 +55,6 @@ BuildRequires: php-spl
# composer.json
Requires: php(language) >= %{php_min_ver}
# phpcompatinfo (computed from version 0.3.0)
-Requires: php-ereg
Requires: php-json
Requires: php-spl
@@ -108,6 +106,11 @@ sed -e 's/function testToTraversableReturnsStreamsIter/function SKIP_testToTrave
%{_bindir}/phpunit \
--bootstrap %{buildroot}%{phpdir}/%{composer_project}/autoload.php
+
+if which php56; then
+ php56 %{_bindir}/phpunit \
+ --bootstrap %{buildroot}%{phpdir}/%{composer_project}/autoload.php
+fi
%else
: Tests skipped
%endif
@@ -128,6 +131,9 @@ rm -rf %{buildroot}
%changelog
+* Mon May 18 2015 Remi Collet <remi@fedoraproject.org> - 0.3.0-4
+- drop dependency on php-ereg (false positive)
+
* Mon May 18 2015 Remi Collet <RPMS@FamilleCollet.com> - 0.3.0-1
- add needed backport stuff for remi repository