[php-symfony2-HttpFoundation] Updated to 2.2.1

Shawn Iwinski siwinski at fedoraproject.org
Sun Apr 14 19:36:22 UTC 2013


commit d63c834113506a718638536339b60e2e226bc707
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sun Apr 14 15:36:19 2013 -0400

    Updated to 2.2.1

 .gitignore                       |    1 +
 php-symfony2-HttpFoundation.spec |   12 ++++++++----
 sources                          |    1 +
 3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6f0756b..218df32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 /HttpFoundation-2.1.7.tgz
 /HttpFoundation-2.1.8.tgz
 /HttpFoundation-2.2.0.tgz
+/HttpFoundation-2.2.1.tgz
diff --git a/php-symfony2-HttpFoundation.spec b/php-symfony2-HttpFoundation.spec
index 9a036fc..352b36d 100644
--- a/php-symfony2-HttpFoundation.spec
+++ b/php-symfony2-HttpFoundation.spec
@@ -6,7 +6,7 @@
 %global php_min_ver  5.3.3
 
 Name:             php-symfony2-%{pear_name}
-Version:          2.2.0
+Version:          2.2.1
 Release:          1%{?dist}
 Summary:          Symfony2 %{pear_name} Component
 
@@ -80,7 +80,6 @@ Optional dependencies: memcache, memcached, mongo
 # Symfony2 %{pear_name} PEAR package.
 
 set_include_path(
-    '%{pear_phpdir}'.PATH_SEPARATOR.
     '%{pear_testdir}/%{pear_name}'.PATH_SEPARATOR.
     get_include_path()
 );
@@ -149,7 +148,7 @@ install -pm 0644 ../phpunit.autoloader.php \
 %check
 cd %{pear_name}-%{version}/Symfony/Component/%{pear_name}
 
-sed 's#./phpunit.autoloader.php#./autoloader.php#' -i phpunit.xml.dist
+cp ../../../../phpunit.autoloader.php .
 
 # Update test file location
 sed 's#%{pear_docdir}#%{buildroot}%{pear_docdir}#g' \
@@ -162,7 +161,9 @@ sed -e 's/testBag/SKIP_testBag/' \
     -e 's/testRegenerateDestroy/SKIP_testRegenerateDestroy/' \
     -i Tests/Session/Storage/NativeSessionStorageTest.php
 
-%{_bindir}/phpunit -d date.timezone="UTC"
+%{_bindir}/phpunit \
+    -d include_path="%{buildroot}%{pear_phpdir}:%{buildroot}%{pear_testdir}/%{pear_name}:.:%{pear_phpdir}:%{_datadir}/php" \
+    -d date.timezone="UTC"
 
 
 %post
@@ -187,6 +188,9 @@ fi
 
 
 %changelog
+* Sun Apr 14 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 2.2.1-1
+- Updated to 2.2.1
+
 * Wed Mar 13 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 2.2.0-1
 - Updated to 2.2.0
 - Removed tests' bootstrap patch
diff --git a/sources b/sources
index f136aec..12253bd 100644
--- a/sources
+++ b/sources
@@ -9,3 +9,4 @@ e40bf935183057d5143c777484430dec  HttpFoundation-2.1.3.tgz
 8b84f0a32d62d56200dbf146511dca80  HttpFoundation-2.1.7.tgz
 c795ad30936dcdb42946397c251209a8  HttpFoundation-2.1.8.tgz
 f738b5c72a7ac8df3fe7c492eed13d56  HttpFoundation-2.2.0.tgz
+910ea7483af2f109b4283f1dca6731a0  HttpFoundation-2.2.1.tgz


More information about the scm-commits mailing list