summaryrefslogtreecommitdiffstats
path: root/php-bartlett-umlwriter.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-18 09:19:02 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-18 09:19:02 +0200
commit1135dbc1baa63ef5338b9e71d2cc9fd769b4fe43 (patch)
tree89b02905e7ee09bbd4f0f3fd20fdad90b45e0334 /php-bartlett-umlwriter.spec
parent400ccf0512be29baff6117e141a1cc40dd09bbed (diff)
php-bartlett-umlwriter: allow sebastian/version 2.0
Diffstat (limited to 'php-bartlett-umlwriter.spec')
-rw-r--r--php-bartlett-umlwriter.spec16
1 files changed, 13 insertions, 3 deletions
diff --git a/php-bartlett-umlwriter.spec b/php-bartlett-umlwriter.spec
index e903705..bbbf7c4 100644
--- a/php-bartlett-umlwriter.spec
+++ b/php-bartlett-umlwriter.spec
@@ -21,7 +21,7 @@
Name: php-bartlett-umlwriter
Version: 1.1.0
-%global specrel 1
+%global specrel 3
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Create UML class diagrams from your PHP source
@@ -60,7 +60,7 @@ Requires: php-spl
Requires: php-composer(symfony/console) >= 2.5
Requires: php-composer(symfony/console) < 3
Requires: php-composer(sebastian/version) >= 1.0
-Requires: php-composer(sebastian/version) < 2
+Requires: php-composer(sebastian/version) < 3
# "require-dev": {
# "bartlett/php-reflect": "~4.0",
# "andrewsville/php-token-reflection": "~1.4"
@@ -120,6 +120,12 @@ install -D -p -m 755 bin/umlwriter %{buildroot}%{_bindir}/umlwriter
%{_bindir}/phpunit \
--bootstrap %{buildroot}%{_datadir}/php/Bartlett/UmlWriter/autoload.php \
--verbose
+
+if which php70; then
+ php70 %{_bindir}/phpunit \
+ --bootstrap %{buildroot}%{_datadir}/php/Bartlett/UmlWriter/autoload.php \
+ --verbose
+fi
%else
: Test suite disabled
%endif
@@ -135,6 +141,10 @@ install -D -p -m 755 bin/umlwriter %{buildroot}%{_bindir}/umlwriter
%changelog
+* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> - 1.1.0-3
+- allow sebastian/version 2.0
+- run test suite with both PHP 5 and 7 when available
+
* Thu Dec 10 2015 Remi Collet <remi@fedoraproject.org> - 1.1.0-1
- update to 1.1.0
- raise dependency on php >= 5.4.0
@@ -173,4 +183,4 @@ install -D -p -m 755 bin/umlwriter %{buildroot}%{_bindir}/umlwriter
- open https://github.com/llaville/umlwriter/issues/2 runtime issue
* Tue Mar 24 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-0.1.RC1
-- Initial RPM package, version 1.0.0RC1 \ No newline at end of file
+- Initial RPM package, version 1.0.0RC1