summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-CompatInfo.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-03-09 18:43:02 +0100
committerRemi Collet <fedora@famillecollet.com>2016-03-09 18:43:02 +0100
commited675fd0ba2bccf5aab634c7964ec247151340e1 (patch)
tree9376da54ee5eb4fa9b768c396725caa394128bed /php-bartlett-PHP-CompatInfo.spec
parent3205739896dd567d4987c25eddb31f6674db367c (diff)
php-bartlett-PHP-CompatInfo: display DB version
Diffstat (limited to 'php-bartlett-PHP-CompatInfo.spec')
-rw-r--r--php-bartlett-PHP-CompatInfo.spec11
1 files changed, 10 insertions, 1 deletions
diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec
index 3696e55..18a6498 100644
--- a/php-bartlett-PHP-CompatInfo.spec
+++ b/php-bartlett-PHP-CompatInfo.spec
@@ -17,7 +17,7 @@
Name: php-bartlett-PHP-CompatInfo
Version: 5.0.0
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Find out version and the extensions required for a piece of code to run
@@ -143,6 +143,12 @@ ln -s %{buildroot}%{_datadir}/php/Bartlett/CompatInfo/autoload.php vendor/
%{_bindir}/phpunit \
--include-path %{buildroot}%{_datadir}/php \
-d memory_limit=1G
+
+if which php70; then
+ php70 %{_bindir}/phpunit \
+ --include-path %{buildroot}%{_datadir}/php \
+ -d memory_limit=1G
+fi
%endif
@@ -165,6 +171,9 @@ fi
%changelog
+* Wed Mar 9 2016 Remi Collet <remi@fedoraproject.org> - 5.0.0-2
+- display DB version instead of build date
+
* Thu Dec 10 2015 Remi Collet <remi@fedoraproject.org> - 5.0.0-1
- update to 5.0.0
- raise dependency on bartlett/php-reflect ~4.0