diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-08-10 14:18:16 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-08-10 14:18:16 +0200 |
commit | b869b002edb7ff506f761d0926322ecf2811777e (patch) | |
tree | c35472e3a9452d75e15b838fb1e50187f50654d5 /php-Monolog.spec | |
parent | 9c4f6dee959291937707105c0becdef911f9aab1 (diff) |
php-Monolog: 1.16.0
Diffstat (limited to 'php-Monolog.spec')
-rw-r--r-- | php-Monolog.spec | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/php-Monolog.spec b/php-Monolog.spec index d93fc2a..7a3c398 100644 --- a/php-Monolog.spec +++ b/php-Monolog.spec @@ -12,8 +12,8 @@ %global github_owner Seldaek %global github_name monolog -%global github_version 1.15.0 -%global github_commit dc5150cc608f2334c72c3b6a553ec9668a4156b0 +%global github_version 1.16.0 +%global github_commit c0c0b4bee3aabce7182876b0d912ef2595563db7 %global composer_vendor monolog %global composer_project monolog @@ -39,7 +39,7 @@ Name: php-Monolog Version: %{github_version} -Release: 2%{?dist} +Release: 1%{?dist} Summary: Sends your logs to files, sockets, inboxes, databases and various web services Group: Development/Libraries @@ -188,16 +188,6 @@ cat <<'AUTOLOAD' | tee src/Monolog/autoload.php * @return \Symfony\Component\ClassLoader\ClassLoader */ -// Optional dependency autoloaders -foreach (array( - '%{phpdir}/Raven/autoload.php', - '%{phpdir}/Aws/autoload.php', -) as $dependencyAutoloader) { - if (file_exists($dependencyAutoloader)) { - require_once $dependencyAutoloader; - } -} - if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Component\ClassLoader\ClassLoader)) { if (!class_exists('Symfony\\Component\\ClassLoader\\ClassLoader', false)) { require_once '%{phpdir}/Symfony/Component/ClassLoader/ClassLoader.php'; @@ -209,6 +199,16 @@ if (!isset($fedoraClassLoader) || !($fedoraClassLoader instanceof \Symfony\Compo $fedoraClassLoader->addPrefix('Monolog\\', dirname(__DIR__)); +// Optional dependency autoloaders +foreach (array( + '%{phpdir}/Raven/autoload.php', + '%{phpdir}/Aws/autoload.php', +) as $dependencyAutoloader) { + if (file_exists($dependencyAutoloader)) { + require_once $dependencyAutoloader; + } +} + if (file_exists('%{pear_phpdir}/Swift')) { $fedoraClassLoader->addPrefix('Swift_', '%{pear_phpdir}/Swift'); } @@ -240,6 +240,7 @@ cat <<'BOOTSTRAP' | tee bootstrap.php $fedoraClassLoader = require_once '%{buildroot}%{phpdir}/Monolog/autoload.php'; $fedoraClassLoader->addPrefix(false, __DIR__ . '/tests'); +var_dump($fedoraClassLoader); BOOTSTRAP : Remove MongoDBHandlerTest because it requires a running MongoDB server @@ -277,6 +278,9 @@ rm -rf %{buildroot} %changelog +* Mon Aug 10 2015 Remi Collet <remi@remirepo.net> - 1.16.0-1 +- update to 1.16.0 + * Mon Jul 20 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.15.0-2 - Fix autoloader |