From 30a54675dcd4f3f5844375adfee332434d105ad1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Jul 2020 14:13:03 +0200 Subject: update to 1.25.5 --- composer.json | 7 +++---- php-Monolog.spec | 17 ++++++++++------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 097df87..e171e20 100644 --- a/composer.json +++ b/composer.json @@ -26,10 +26,8 @@ "php-amqplib/php-amqplib": "~2.4", "swiftmailer/swiftmailer": "^5.3|^6.0", "php-console/php-console": "^3.1.3", - "phpunit/phpunit-mock-objects": "2.3.0", - "jakub-onderka/php-parallel-lint": "0.9" + "php-parallel-lint/php-parallel-lint": "^1.0" }, - "_": "phpunit/phpunit-mock-objects required in 2.3.0 due to https://github.com/sebastianbergmann/phpunit-mock-objects/issues/223 - needs hhvm 3.8+ on travis", "suggest": { "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", "sentry/sentry": "Allow sending log messages to a Sentry server", @@ -62,5 +60,6 @@ "parallel-lint . --exclude vendor --exclude src/Monolog/Handler/FormattableHandlerInterface.php --exclude src/Monolog/Handler/FormattableHandlerTrait.php --exclude src/Monolog/Handler/ProcessableHandlerInterface.php --exclude src/Monolog/Handler/ProcessableHandlerTrait.php", "phpunit" ] - } + }, + "lock": false } diff --git a/php-Monolog.spec b/php-Monolog.spec index 756813e..0a3e564 100644 --- a/php-Monolog.spec +++ b/php-Monolog.spec @@ -2,7 +2,7 @@ # # Fedora spec file for php-Monolog # -# Copyright (c) 2012-2017 Shawn Iwinski +# Copyright (c) 2012-2020 Shawn Iwinski # # License: MIT # http://opensource.org/licenses/MIT @@ -12,8 +12,8 @@ %global github_owner Seldaek %global github_name monolog -%global github_version 1.25.2 -%global github_commit d5e2fb341cb44f7e2ab639d12a1e5901091ec287 +%global github_version 1.25.5 +%global github_commit 1817faadd1846cd08be9a49e905dc68823bc38c0 %global composer_vendor monolog %global composer_project monolog @@ -36,7 +36,7 @@ %global swift_max_ver 6 # Build using "--without tests" to disable tests -%global with_tests 0%{!?_without_tests:1} +%bcond_without tests %{!?phpdir: %global phpdir %{_datadir}/php} @@ -57,7 +57,7 @@ Patch0: %{name}-tests-sentry-gte-0-16-0.patch BuildArch: noarch # Tests -%if %{with_tests} +%if %{with tests} ## composer.json BuildRequires: php(language) >= %{php_min_ver} BuildRequires: php-composer(phpunit/phpunit) @@ -184,7 +184,7 @@ cp -pr src/Monolog %{buildroot}%{phpdir}/ %check -%if %{with_tests} +%if %{with tests} : Create tests bootstrap cat <<'BOOTSTRAP' | tee bootstrap.php - 1.25.5-1 +- update to 1.25.5 + * Thu Nov 14 2019 Remi Collet - 1.25.2-1 - update to 1.25.2 -- cgit