diff --git a/php-ocramius-code-generator-utils.spec b/php-ocramius-code-generator-utils.spec index 4a89f89..307fede 100644 --- a/php-ocramius-code-generator-utils.spec +++ b/php-ocramius-code-generator-utils.spec @@ -31,7 +31,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 1%{?github_release}%{?dist} +Release: 2%{?github_release}%{?dist} Summary: A set of code generator utilities built on top of PHP-Parsers Group: Development/Libraries @@ -90,15 +90,13 @@ cat > autoload.php <<'AUTOLOAD' spl_autoload_register(function ($class) { $src = str_replace('\\', '/', $class).'.php'; - include_once $src; + @include_once $src; }); AUTOLOAD # Create PHPUnit config with colors turned off sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml -find /usr/share/php/PhpParser - %{__phpunit} \ --bootstrap autoload.php \ --include-path %{buildroot}%{phpdir}:./tests \ @@ -116,5 +114,9 @@ find /usr/share/php/PhpParser %changelog +* Wed Nov 05 2014 Shawn Iwinski - 0.3.0-2 +- Silenced include in autoloader +- Removed debug from %%check + * Mon Oct 27 2014 Shawn Iwinski - 0.3.0-1 - Initial package