diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-08-13 07:06:10 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-08-13 07:06:10 +0200 |
commit | 7350866188b5b33623270c8c5e439bd3e0ad962d (patch) | |
tree | 0d9dde5f6192f1dc1ef79c3ec9c5ee65a8123a82 | |
parent | 7a39da40cd56a06c9fc8f9247d1e249ca660225a (diff) |
php-twig: sync with fedora, cleanups
-rw-r--r-- | php-twig.spec | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/php-twig.spec b/php-twig.spec index ddd222b..df117a0 100644 --- a/php-twig.spec +++ b/php-twig.spec @@ -69,7 +69,7 @@ BuildRequires: %{?scl_prefix}php-devel >= %{php_min_ver} %if %{with_tests} # For tests BuildRequires: %{_bindir}/phpunit -## phpcompatinfo (computed from version 1.18.2) +## phpcompatinfo (computed from version 1.20.0) BuildRequires: %{?scl_prefix}php-ctype BuildRequires: %{?scl_prefix}php-date BuildRequires: %{?scl_prefix}php-dom @@ -85,7 +85,7 @@ BuildRequires: %{?scl_prefix}php-spl # Lib ## composer.json Requires: %{?scl_prefix}php(language) >= %{php_min_ver} -## phpcompatinfo (computed from version 1.18.2) +## phpcompatinfo (computed from version 1.20.0) Requires: %{?scl_prefix}php-ctype Requires: %{?scl_prefix}php-date Requires: %{?scl_prefix}php-dom @@ -185,16 +185,17 @@ extension=%{ext_name}.so INI : Create lib autoloader -(cat <<'AUTOLOAD' +cat <<'AUTOLOAD' | tee lib/Twig/autoload.php <?php /** - * Autoloader created by %{name}-%{version}-%{release} + * Autoloader for %{name} and its' dependencies + * + * Created by %{name}-%{version}-%{release} */ require_once __DIR__ . '/Autoloader.php'; Twig_Autoloader::register(); AUTOLOAD -) | tee lib/Twig/autoload.php %build @@ -247,13 +248,9 @@ install -D -m 0644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %if %{with_tests} : Skip tests known to fail -sed 's#function testGetAttributeExceptions#function SKIP_testGetAttributeExceptions#' \ +sed -e 's#function testGetAttributeExceptions#function SKIP_testGetAttributeExceptions#' \ + -e 's/function testGetAttributeWithTemplateAsObject/function skip_testGetAttributeWithTemplateAsObject/' \ -i test/Twig/Tests/TemplateTest.php -# i386 failing on EL-5 -%ifarch ppc64 %{ix86} -sed 's/function testGetAttributeWithTemplateAsObject/function SKIP_testGetAttributeWithTemplateAsObject/' \ - -i test/Twig/Tests/TemplateTest.php -%endif : Test suite without extension %{_bindir}/phpunit --bootstrap %{buildroot}%{phpdir}/Twig/autoload.php -v @@ -289,6 +286,9 @@ rm -rf %{buildroot} %changelog +* Wed Aug 12 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.20.0-1 +- Updated to 1.20.0 (BZ #1249259) + * Wed Aug 12 2015 Remi Collet <remi@fedoraproject.org> - 1.20.0-1 - Update to 1.20.0 |