summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-13 10:38:51 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-13 10:38:51 +0100
commit02f4ec533d0ea0b57492eae19f2f533dc342da24 (patch)
tree4b8260182320635d4a4158f19b04448b09eb767b
parent9672ba31331d25be3b67214bc5b5637ed3f225b8 (diff)
php-Monolog: 1.22.1
-rw-r--r--php-Monolog-tests-sentry-gte-0-16-0.patch2
-rw-r--r--php-Monolog.spec13
2 files changed, 11 insertions, 4 deletions
diff --git a/php-Monolog-tests-sentry-gte-0-16-0.patch b/php-Monolog-tests-sentry-gte-0-16-0.patch
index d687ff2..c0e524a 100644
--- a/php-Monolog-tests-sentry-gte-0-16-0.patch
+++ b/php-Monolog-tests-sentry-gte-0-16-0.patch
@@ -4,7 +4,7 @@ index 0000000..07434e4
--- /dev/null
+++ b/tests/Monolog/Handler/MockRavenClient-gte-0-16-0.php
@@ -0,0 +1,27 @@
-+<?php declare(strict_types=1);
++<?php
+
+/*
+ * This file is part of the Monolog package.
diff --git a/php-Monolog.spec b/php-Monolog.spec
index 3de0e6b..fbcea9b 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.22.0
-%global github_commit bad29cb8d18ab0315e6c477751418a82c850d558
+%global github_version 1.22.1
+%global github_commit 1e044bc4b34e91743943479f1be7a1d5eb93add0
%global composer_vendor monolog
%global composer_project monolog
@@ -206,6 +206,10 @@ rm -f tests/Monolog/Handler/MongoDBHandlerTest.php
: Remove GitProcessorTest because it requires a git repo
rm -f tests/Monolog/Processor/GitProcessorTest.php
+: Remove know to fail with PHP 7.1 and fixed in upstream master
+sed -e 's/testUseMicrosecondTimestamps/SKIP_testUseMicrosecondTimestamps/' \
+ -i tests/Monolog/LoggerTest.php
+
: Skip tests known to fail
%if 0%{?rhel} > 0
sed 's/function testThrowsOnInvalidEncoding/function SKIP_testThrowsOnInvalidEncoding/' \
@@ -240,13 +244,16 @@ rm -rf %{buildroot}
%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
-%doc *.mdown
+%doc *.md
%doc doc
%doc composer.json
%{phpdir}/Monolog
%changelog
+* Mon Mar 13 2017 Remi Collet <remi@remirepo.net> - 1.22.1-1
+- Update to 1.22.1
+
* Sat Nov 26 2016 Remi Collet <remi@fedoraproject.org> - 1.22.0-1
- update to 1.22.0
- switch from symfony/class-loader to fedora/autoloader