[php-Monolog] Updated to 1.12.0 (BZ #1178410)

Shawn Iwinski siwinski at fedoraproject.org
Sun Jan 4 06:07:03 UTC 2015


commit 70be834bf4b45ec5c4606026fabf43748ed79673
Author: Shawn Iwinski <siwinski at redhat.com>
Date:   Sun Jan 4 01:07:04 2015 -0500

    Updated to 1.12.0 (BZ #1178410)

 .gitignore       |    1 +
 php-Monolog.spec |   27 ++++++++++++---------------
 sources          |    2 +-
 3 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4f36d30..71ecca8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /php-Monolog-1.9.1-65026b610f8c19e61d7242f600530677b0466aac.tar.gz
 /php-Monolog-1.10.0-25b16e801979098cb2f120e697bfce454b18bf23.tar.gz
 /php-Monolog-1.11.0-ec3961874c43840e96da3a8a1ed20d8c73d7e5aa.tar.gz
+/php-Monolog-1.12.0-1fbe8c2641f2b163addf49cc5e18f144bec6b19f.tar.gz
diff --git a/php-Monolog.spec b/php-Monolog.spec
index 0e60d29..f581a00 100644
--- a/php-Monolog.spec
+++ b/php-Monolog.spec
@@ -1,7 +1,7 @@
 #
 # RPM spec file for php-Monolog
 #
-# Copyright (c) 2012-2014 Shawn Iwinski <shawn.iwinski at gmail.com>
+# Copyright (c) 2012-2015 Shawn Iwinski <shawn.iwinski at gmail.com>
 #
 # License: MIT
 # http://opensource.org/licenses/MIT
@@ -11,16 +11,13 @@
 
 %global github_owner    Seldaek
 %global github_name     monolog
-%global github_version  1.11.0
-%global github_commit   ec3961874c43840e96da3a8a1ed20d8c73d7e5aa
+%global github_version  1.12.0
+%global github_commit   1fbe8c2641f2b163addf49cc5e18f144bec6b19f
 
 %global lib_name        Monolog
 
 # "php": ">=5.3.0"
 %global php_min_ver     5.3.0
-# "phpunit/phpunit": "~3.7.0"
-#     Note: Max version ignored on purpose
-%global phpunit_min_ver 3.7.0
 # "psr/log": "~1.0"
 %global psrlog_min_ver  1.0
 %global psrlog_max_ver  2.0
@@ -53,8 +50,8 @@ BuildArch:     noarch
 BuildRequires: php(language)         >= %{php_min_ver}
 BuildRequires: php-composer(psr/log) >= %{psrlog_min_ver}
 BuildRequires: php-composer(psr/log) <  %{psrlog_max_ver}
-BuildRequires: php-phpunit-PHPUnit   >= %{phpunit_min_ver}
-# phpcompatinfo (computed from version 1.11.0)
+BuildRequires: %{__phpunit}
+# phpcompatinfo (computed from version 1.12.0)
 BuildRequires: php-curl
 BuildRequires: php-date
 BuildRequires: php-filter
@@ -74,7 +71,7 @@ Requires:      php-swift-Swift
 Requires:      php(language)         >= %{php_min_ver}
 Requires:      php-composer(psr/log) >= %{psrlog_min_ver}
 Requires:      php-composer(psr/log) <  %{psrlog_max_ver}
-# phpcompatinfo (computed from version 1.11.0)
+# phpcompatinfo (computed from version 1.12.0)
 Requires:      php-curl
 Requires:      php-date
 Requires:      php-filter
@@ -171,12 +168,9 @@ rm -f tests/Monolog/Handler/MongoDBHandlerTest.php
 # Remove GitProcessorTest because it requires a git repo
 rm -f tests/Monolog/Processor/GitProcessorTest.php
 
-# Create PHPUnit config w/ colors turned off
-sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
-
-%{__phpunit} \
-    --include-path="%{buildroot}%{phpdir}:./tests" \
-    -d date.timezone="UTC"
+%{__phpunit} --include-path="%{buildroot}%{phpdir}:./tests"
+%else
+: Tests skipped
 %endif
 
 
@@ -188,6 +182,9 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
 
 %changelog
+* Sun Jan 04 2015 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.12.0-1
+- Updated to 1.12.0 (BZ #1178410)
+
 * Sat Jun 07 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 1.11.0-1
 - Updated to 1.11.0 (BZ #1148336)
 - Added php-composer(psr/log-implementation) virtual provide
diff --git a/sources b/sources
index 3c3e5e2..a171885 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67f897921889e48de9c152474743b981  php-Monolog-1.11.0-ec3961874c43840e96da3a8a1ed20d8c73d7e5aa.tar.gz
+15d3c57134de33c22d178901f551ed50  php-Monolog-1.12.0-1fbe8c2641f2b163addf49cc5e18f144bec6b19f.tar.gz


More information about the scm-commits mailing list