summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-08-09 19:09:57 +0200
committerRemi Collet <fedora@famillecollet.com>2015-08-09 19:09:57 +0200
commitee919013dd542415c5ab73d37d7c3600bc619093 (patch)
treec90726cfc151b46b6333e7576c64e3329f5fdc1e
parent572b1ea15e6eaed5b95c9e50457cd2cc4354c14c (diff)
php-ocramius-code-generator-utils: cleanups
-rw-r--r--php-ocramius-code-generator-utils.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/php-ocramius-code-generator-utils.spec b/php-ocramius-code-generator-utils.spec
index d1fcbc8..993d097 100644
--- a/php-ocramius-code-generator-utils.spec
+++ b/php-ocramius-code-generator-utils.spec
@@ -89,6 +89,8 @@ cp -rp src/* %{buildroot}%{phpdir}/
# Create autoloader
cat > autoload.php <<'AUTOLOAD'
<?php
+require_once 'PhpParser/Autoloader.php';
+PhpParser\Autoloader::register();
spl_autoload_register(function ($class) {
$src = str_replace('\\', '/', $class).'.php';
@@ -119,6 +121,7 @@ rm -rf %{buildroot}
%changelog
* Sun Aug 9 2015 Remi Collet <remi@fedoraproject.org> - 0.3.2-1
- update to 0.3.2
+- raise dependency on nikic/php-parser ~1.3
* Wed Feb 25 2015 Remi Collet <remi@fedoraproject.org> - 0.3.1-1
- update to 0.3.1 (no change)