diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-09 16:34:43 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-09 16:34:43 +0200 |
commit | ee8f0ad919c561845ceabbbcb358b29b77902a58 (patch) | |
tree | 0eff9670a44ff82f8982e9afeb92dff40e0891c1 | |
parent | 2500a345a4097f1b041697374f4976f6121c29ab (diff) |
php-symfony: 2.7.4
-rw-r--r-- | php-symfony.spec | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/php-symfony.spec b/php-symfony.spec index 42c516f..b073048 100644 --- a/php-symfony.spec +++ b/php-symfony.spec @@ -14,8 +14,8 @@ %{!?php_version: %global php_version %(php -r 'echo PHP_VERSION;' 2>/dev/null)} %global github_owner symfony %global github_name symfony -%global github_version 2.7.3 -%global github_commit a9af4708b4bb650c4897e9b8dfbfbdb2ea5f0486 +%global github_version 2.7.4 +%global github_commit 1fdf23fe28876844b887b0e1935c9adda43ee645 %global github_short %(c=%{github_commit}; echo ${c:0:7}) %global composer_vendor symfony @@ -70,9 +70,9 @@ # src/Symfony/Bridge/Swiftmailer/composer.json # NOTE: Max version ignored on purpose %global swiftmailer_min_ver 4.2.0 -# "twig/twig": "~1.18" -%global twig_min_ver 1.18 -%global twig_max_ver 2.0 +# "twig/twig": "~1.20|~2.0" +%global twig_min_ver 1.20 +%global twig_max_ver 3 %if 0%{?fedora} < 21 && 0%{?rhel} < 7 # Build using "--with tests" to enable tests @@ -90,7 +90,7 @@ Name: php-%{composer_project} Version: %{github_version} -Release: 2%{?dist} +Release: 1%{?dist} Summary: PHP framework for web projects Group: Development/Libraries @@ -783,9 +783,6 @@ Group: Development/Libraries # composer.json Requires: php-composer(psr/log) >= %{psrlog_min_ver} Requires: php-composer(psr/log) < %{psrlog_max_ver} -# composer.json: optional -Requires: php-composer(%{composer_vendor}/http-foundation) = %{version} -Requires: php-composer(%{composer_vendor}/http-kernel) = %{version} # phpcompatinfo (computed from version 2.7.1) Requires: php-pcre Requires: php-reflection @@ -1643,7 +1640,7 @@ The YAML Component loads and dumps YAML files. find src -name '.git*' -delete : Create autoloader -(cat <<'AUTOLOAD' +cat << 'AUTOLOAD' | tee src/Symfony/autoload.php <?php /** * Autoloader for all Symfony bridges/bundles/components and their dependencies. @@ -1702,7 +1699,6 @@ $fedoraClassLoader->setUseIncludePath(true); return $fedoraClassLoader; AUTOLOAD -) | tee src/Symfony/autoload.php : Create autoloader softlinks for each bridge/bundle/component for PKG in src/Symfony/*/* @@ -1781,13 +1777,12 @@ ln -s %{name}-common-%{version} %{buildroot}%{_docdir}/%{name}-%{version} sed 's#./src#%{buildroot}%{phpdir}#' phpunit.xml.dist > phpunit.xml : Create tests bootstrap -(cat <<'BOOTSTRAP' +cat << 'BOOTSTRAP' | tee bootstrap.php <?php require_once '%{buildroot}%{phpdir}/Symfony/autoload.php'; require_once '%{buildroot}%{phpdir}/Symfony/Bridge/PhpUnit/bootstrap.php'; BOOTSTRAP -) | tee bootstrap.php : Run tests RET=0 @@ -2497,6 +2492,10 @@ exit $RET # ############################################################################## %changelog +* Wed Sep 9 2015 Remi Collet <remi@fedoraproject.org> - 2.7.4-1 +- Update to 2.7.4 +- raise dependency on twig/twig ~1.20|~2.0 + * Fri Aug 7 2015 Remi Collet <remi@fedoraproject.org> - 2.7.3-2 - rely on PHPUnit 4.8 for test suite |