summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-06-21 20:33:19 +0200
committerRemi Collet <fedora@famillecollet.com>2015-06-21 20:33:19 +0200
commit740c0c023b7b3db601abf6091051bfceaf94dc83 (patch)
treeca36cb04103641030d8bdcbdb2adc153248cd961
parent50ccbb54720f3bafd0b065d0a907d0b7f80ac8cd (diff)
php-bartlett-PHP-CompatInfo: fix autoload
-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