summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-bartlett-PHP-CompatInfo-4.3.0-rpm.patch4
-rw-r--r--php-bartlett-PHP-CompatInfo.spec7
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