[php-Raven] Updated to 0.10.0 (BZ #1138284)

Shawn Iwinski siwinski at fedoraproject.org
Thu Sep 11 20:06:05 UTC 2014


commit 183f62ad76dcacc9ee4aaad9515242e23fb22159
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Thu Sep 11 16:05:51 2014 -0400

    Updated to 0.10.0 (BZ #1138284)

 .gitignore     |    1 +
 php-Raven.spec |   19 ++++++++++++++-----
 sources        |    2 +-
 3 files changed, 16 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 523ad8e..4127bd4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /php-Raven-0.9.0-1177f1c51110454f3a5bcca88aec3fa30e40e277.tar.gz
 /155.patch
 /php-Raven-0.9.1-c6184b057d597f1449f30f2caec5d9ad07ddc4af.tar.gz
+/php-Raven-0.10.0-8534b131f296597c163cbc408ac2d914f43a1a2c.tar.gz
diff --git a/php-Raven.spec b/php-Raven.spec
index 1fa31c9..5dfd57e 100644
--- a/php-Raven.spec
+++ b/php-Raven.spec
@@ -11,8 +11,8 @@
 
 %global github_owner    getsentry
 %global github_name     raven-php
-%global github_version  0.9.1
-%global github_commit   c6184b057d597f1449f30f2caec5d9ad07ddc4af
+%global github_version  0.10.0
+%global github_commit   8534b131f296597c163cbc408ac2d914f43a1a2c
 
 %global lib_name        Raven
 
@@ -40,7 +40,7 @@ BuildArch:     noarch
 # For tests: composer.json
 BuildRequires: php(language)       >= %{php_min_ver}
 BuildRequires: php-phpunit-PHPUnit >= %{phpunit_min_ver}
-# For tests: phpcompatinfo (computed from version 0.9.1)
+# For tests: phpcompatinfo (computed from version 0.10.0)
 BuildRequires: php-curl
 BuildRequires: php-date
 BuildRequires: php-mbstring
@@ -52,9 +52,10 @@ BuildRequires: php-spl
 BuildRequires: php-zlib
 %endif
 
+Requires:      ca-certificates
 # composer.json
 Requires:      php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 0.9.1)
+# phpcompatinfo (computed from version 0.10.0)
 Requires:      php-curl
 Requires:      php-date
 Requires:      php-mbstring
@@ -79,6 +80,11 @@ sed "/require.*Autoloader/s:.*:require_once 'Raven/Autoloader.php';:" \
     -i bin/raven \
     -i test/bootstrap.php
 
+# Remove bundled cert
+rm -rf lib/Raven/data
+sed "/return.*cacert\.pem/s#.*#        return '%{_sysconfdir}/pki/tls/cert.pem';#" \
+    -i lib/Raven/Client.php
+
 
 %build
 # Empty build section, nothing to build
@@ -97,7 +103,7 @@ install -pm 0755 bin/raven %{buildroot}%{_bindir}/
 # Create PHPUnit config w/ colors turned off
 sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
-%{_bindir}/phpunit --include-path ./lib:./test
+%{_bindir}/phpunit --include-path %{buildroot}%{_datadir}/php
 %else
 : Tests skipped
 %endif
@@ -112,6 +118,9 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
 
 
 %changelog
+* Thu Sep 11 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 0.10.0-1
+- Updated to 0.10.0 (BZ #1138284)
+
 * Sun Aug 31 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 0.9.1-1
 - Updated to 0.9.1 (BZ #1134284)
 - %%license usage
diff --git a/sources b/sources
index 6546f82..bbd7b5d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8652f5ee7679b0da53f0e87ea7d75df  php-Raven-0.9.1-c6184b057d597f1449f30f2caec5d9ad07ddc4af.tar.gz
+7c0ef9207659431e8df4c3bbcfe7ca35  php-Raven-0.10.0-8534b131f296597c163cbc408ac2d914f43a1a2c.tar.gz


More information about the scm-commits mailing list