[php-Raven] Updated to 0.9.1 (BZ #1134284)
Shawn Iwinski
siwinski at fedoraproject.org
Sun Aug 31 04:36:16 UTC 2014
commit 38e838aa1f00a5c49686a7ddd440c7b6d412b80a
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date: Sun Aug 31 00:35:56 2014 -0400
Updated to 0.9.1 (BZ #1134284)
.gitignore | 1 +
php-Raven.spec | 27 ++++++++++++++-------------
sources | 3 +--
3 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cbc774b..523ad8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/php-Raven-0.8.0-2351d97c862f02343e5465d550df68bd9632cad9.tar.gz
/php-Raven-0.9.0-1177f1c51110454f3a5bcca88aec3fa30e40e277.tar.gz
/155.patch
+/php-Raven-0.9.1-c6184b057d597f1449f30f2caec5d9ad07ddc4af.tar.gz
diff --git a/php-Raven.spec b/php-Raven.spec
index 27ea9dd..1fa31c9 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.0
-%global github_commit 1177f1c51110454f3a5bcca88aec3fa30e40e277
+%global github_version 0.9.1
+%global github_commit c6184b057d597f1449f30f2caec5d9ad07ddc4af
%global lib_name Raven
@@ -34,16 +34,13 @@ Group: Development/Libraries
License: BSD
URL: https://github.com/%{github_owner}/%{github_name}
Source0: %{url}/archive/%{github_commit}/%{name}-%{version}-%{github_commit}.tar.gz
-# Fix Raven_Tests_ClientTest::testGetAuthHeader
-# https://github.com/getsentry/raven-php/pull/155
-Patch0: %{url}/pull/155.patch
BuildArch: noarch
%if %{with_tests}
# 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.0)
+# For tests: phpcompatinfo (computed from version 0.9.1)
BuildRequires: php-curl
BuildRequires: php-date
BuildRequires: php-mbstring
@@ -57,7 +54,7 @@ BuildRequires: php-zlib
# composer.json
Requires: php(language) >= %{php_min_ver}
-# phpcompatinfo (computed from version 0.9.0)
+# phpcompatinfo (computed from version 0.9.1)
Requires: php-curl
Requires: php-date
Requires: php-mbstring
@@ -77,8 +74,6 @@ Provides: php-composer(raven/raven) = %{version}
%prep
%setup -qn %{github_name}-%{github_commit}
-%patch0 -p1
-
# Update autoloader require in bin and test bootstrap
sed "/require.*Autoloader/s:.*:require_once 'Raven/Autoloader.php';:" \
-i bin/raven \
@@ -90,11 +85,11 @@ sed "/require.*Autoloader/s:.*:require_once 'Raven/Autoloader.php';:" \
%install
-mkdir -p %{buildroot}%{_datadir}/php
+mkdir -pm 0755 %{buildroot}%{_datadir}/php
cp -rp lib/* %{buildroot}%{_datadir}/php/
-mkdir -p %{buildroot}%{_bindir}
-install -pm 755 bin/raven %{buildroot}%{_bindir}/
+mkdir -pm 0755 %{buildroot}%{_bindir}
+install -pm 0755 bin/raven %{buildroot}%{_bindir}/
%check
@@ -109,12 +104,18 @@ sed 's/colors\s*=\s*"true"/colors="false"/' phpunit.xml.dist > phpunit.xml
%files
-%doc LICENSE AUTHORS *.rst composer.json
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
+%doc AUTHORS *.rst composer.json
%{_datadir}/php/%{lib_name}
%{_bindir}/raven
%changelog
+* Sun Aug 31 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 0.9.1-1
+- Updated to 0.9.1 (BZ #1134284)
+- %%license usage
+
* Sat Jun 07 2014 Shawn Iwinski <shawn.iwinski at gmail.com> - 0.9.0-1
- Updated to 0.9.0 (BZ #1104557)
- Added php-composer(raven/raven) virtual provide
diff --git a/sources b/sources
index 28fb6b9..6546f82 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-1e400dae080845aa2c62a12af4f62abf php-Raven-0.9.0-1177f1c51110454f3a5bcca88aec3fa30e40e277.tar.gz
-14cf2721d367cf7e770e341f0a712295 155.patch
+c8652f5ee7679b0da53f0e87ea7d75df php-Raven-0.9.1-c6184b057d597f1449f30f2caec5d9ad07ddc4af.tar.gz
More information about the scm-commits
mailing list