diff options
-rw-r--r-- | php-symfony2-Translation.spec | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/php-symfony2-Translation.spec b/php-symfony2-Translation.spec index a0bff60..4277b82 100644 --- a/php-symfony2-Translation.spec +++ b/php-symfony2-Translation.spec @@ -5,7 +5,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 @@ -71,12 +71,6 @@ translated strings from these including support for pluralization. # This file was created by RPM packaging and is not part of the original # Symfony2 %{pear_name} PEAR package. -set_include_path( - '%{pear_phpdir}'.PATH_SEPARATOR. - '%{pear_testdir}/%{pear_name}'.PATH_SEPARATOR. - get_include_path() -); - spl_autoload_register(function ($class) { if ('\\' == $class[0]) { $class = substr($class, 1); @@ -133,9 +127,11 @@ 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 . -%{_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" \ %if 0%{?rhel} == 5 || : ignore test on EL5 %endif @@ -162,6 +158,9 @@ fi %changelog +* Sat Apr 06 2013 Remi Collet <remi@fedoraproject.org> - 2.2.1-1 +- Update to 2.2.1 + * Wed Mar 13 2013 Shawn Iwinski <shawn.iwinski@gmail.com> 2.2.0-1 - Updated to 2.2.0 - Removed tests' bootstrap patch |