diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-06-21 20:33:19 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-06-21 20:33:19 +0200 |
commit | 740c0c023b7b3db601abf6091051bfceaf94dc83 (patch) | |
tree | ca36cb04103641030d8bdcbdb2adc153248cd961 | |
parent | 50ccbb54720f3bafd0b065d0a907d0b7f80ac8cd (diff) |
php-bartlett-PHP-CompatInfo: fix autoload
-rw-r--r-- | php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch | 4 | ||||
-rw-r--r-- | php-bartlett-PHP-CompatInfo.spec | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch index 36e02b5..c64a75e 100644 --- a/php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch @@ -37,7 +37,7 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo +require_once $vendorDir . '/PhpParser/Autoloader.php'; +PhpParser\Autoloader::register(); + -+require_once $vendorDir . '/SebastianBergmann/Version/Version.php'; ++require_once $vendorDir . '/SebastianBergmann/Version/autoload.php'; + +require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php'; +use Symfony\Component\ClassLoader\UniversalClassLoader; @@ -115,7 +115,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php +require_once $vendorDir . '/PhpParser/Autoloader.php'; +PhpParser\Autoloader::register(); -+require_once $vendorDir . '/SebastianBergmann/Version/Version.php'; ++require_once $vendorDir . '/SebastianBergmann/Version/autoload.php'; + +require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php'; +use Symfony\Component\ClassLoader\UniversalClassLoader; diff --git a/php-bartlett-PHP-CompatInfo.spec b/php-bartlett-PHP-CompatInfo.spec index dcfd868..5c04fdf 100644 --- a/php-bartlett-PHP-CompatInfo.spec +++ b/php-bartlett-PHP-CompatInfo.spec @@ -16,7 +16,7 @@ Name: php-bartlett-PHP-CompatInfo Version: 4.3.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 @@ -168,7 +168,10 @@ fi %changelog -* Tue Jun 16 2015 Remi Collet <remi@fedoraproject.org> - 4.6.0-1 +* Sun Jun 21 2015 Remi Collet <remi@fedoraproject.org> - 4.3.0-2 +- fix autoloader + +* Tue Jun 16 2015 Remi Collet <remi@fedoraproject.org> - 4.3.0-1 - update to 4.3.0 * Tue May 19 2015 Remi Collet <remi@fedoraproject.org> - 4.2.0-1 |