From cced5100b3530485d1f1afeee92f3b410e1ba2aa Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jan 2014 10:23:21 +0100 Subject: php-symfony: 2.3.9 (backport) --- php-symfony.spec | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/php-symfony.spec b/php-symfony.spec index 45ce819..f5ce5b7 100644 --- a/php-symfony.spec +++ b/php-symfony.spec @@ -1,7 +1,7 @@ %global github_owner symfony %global github_name symfony -%global github_version 2.3.8 -%global github_commit b0b421908d569e5024372ded65857707c409e0f7 +%global github_version 2.3.9 +%global github_commit ee1e0f2ef882ccd6a53ff91e5ffc39a22b6a6b74 # https://github.com/symfony/symfony/issues/9797 # Failed test in Component/HttpFoundation/Tests/Session/Storage/Handler/MemcachedSessionHandlerTest.php @@ -1246,7 +1246,7 @@ ln -s %{name}-common-%{version} %{buildroot}%{_docdir}/%{name}-%{version} %check # Create tests' autoloader mkdir vendor -( cat <<'AUTOLOADER' +cat > vendor/autoload.php <<'AUTOLOADER' vendor/autoload.php # Create PHPUnit config w/ colors turned off -cat phpunit.xml.dist \ - | sed 's/colors="true"/colors="false"/' \ - > phpunit.xml +sed 's/colors="true"/colors="false"/' phpunit.xml.dist > phpunit.xml # Skip tests that rely on external resources sed -i \ 's/function testNonSeekableStream/function SKIP_testNonSeekableStream/' \ src/Symfony/Component/Finder/Tests/FinderTest.php +sed -i \ + 's/function testCopyForOriginUrlsAndExistingLocalFileDefaultsToNotCopy/function SKIP_testCopyForOriginUrlsAndExistingLocalFileDefaultsToNotCopy/' \ + src/Symfony/Component/Filesystem/Tests/FilesystemTest.php # Temporarily skip tests that are known to fail %if 0%{?rhel} @@ -1289,6 +1289,9 @@ sed -i \ -e 's/function testConstructorHandlesFormAttribute/function SKIP_testConstructorHandlesFormAttribute/' \ -e 's/function testConstructorHandlesFormValues/function SKIP_testConstructorHandlesFormValues/' \ src/Symfony/Component/DomCrawler/Tests/FormTest.php +sed -i \ + 's/function testSetContent/function SKIP_testSetContent/' \ + src/Symfony/Component/HttpFoundation/Tests/JsonResponseTest.php rm -f src/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php %endif @@ -1887,6 +1890,16 @@ done # ############################################################################## %changelog +* Mon Jan 6 2014 Remi Collet 2.3.9-1 +- backport 2.3.9 for remi repo + +* Sun Jan 05 2014 Shawn Iwinski 2.3.9-1 +- Updated to 2.3.9 +- Conditional %%{?dist} +- Minor bash cosmetic changes +- Skip additional test relying on external resources +- Skip additional el6 test + * Tue Dec 17 2013 Remi Collet 2.3.8-1 - Updated to 2.3.8 -- cgit