summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-04-06 18:34:13 +0200
committerRemi Collet <fedora@famillecollet.com>2013-04-06 18:34:13 +0200
commitcdce274f3dec9337dcac8cf138fc8394a17cf2a9 (patch)
treeac652e69644dad361815fdcd83d525f1dcb75d95
parent88d224f0ebd5b540a5edd17fba6e06659cc0078d (diff)
php-symfony2-Translation: 2.2.1
-rw-r--r--php-symfony2-Translation.spec17
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