summaryrefslogtreecommitdiffstats
path: root/php-bartlett-umlwriter.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-28 09:18:43 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-28 09:18:43 +0200
commit3695202b33324694daf68e2deb4e4ed2f8a89714 (patch)
treeae0e99a9139485064c94aa97c42abe66acf07c7a /php-bartlett-umlwriter.spec
parenteed58a2aa72cb29842614207cf07a1b2e7e4b0e5 (diff)
php-bartlett-umlwriter: fix autoloader
Diffstat (limited to 'php-bartlett-umlwriter.spec')
-rw-r--r--php-bartlett-umlwriter.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/php-bartlett-umlwriter.spec b/php-bartlett-umlwriter.spec
index 2801ece..672b31c 100644
--- a/php-bartlett-umlwriter.spec
+++ b/php-bartlett-umlwriter.spec
@@ -21,7 +21,7 @@
Name: php-bartlett-umlwriter
Version: 1.0.0
-%global specrel 5
+%global specrel 6
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
@@ -115,8 +115,10 @@ install -D -p -m 755 bin/umlwriter %{buildroot}%{_bindir}/umlwriter
%check
%if %{with_tests}
+#php -r 'require "%{buildroot}%{_datadir}/php/Bartlett/UmlWriter/autoload.php"; print_r($fedoraClassLoader->getPrefixes());'
+
%{_bindir}/phpunit \
- --bootstrap src/Bartlett/UmlWriter/autoload.php \
+ --bootstrap %{buildroot}%{_datadir}/php/Bartlett/UmlWriter/autoload.php \
--verbose
%else
: Test suite disabled
@@ -133,6 +135,9 @@ install -D -p -m 755 bin/umlwriter %{buildroot}%{_bindir}/umlwriter
%changelog
+* Sun Jun 28 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-6
+- fix autoloader
+
* Fri Jun 26 2015 Remi Collet <remi@fedoraproject.org> - 1.0.0-5
- rewrite autoloader