diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-03-05 06:49:58 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-03-05 06:49:58 +0100 |
commit | 2557b948e3d767fa25bb88af23b32850fb1654cd (patch) | |
tree | 0feedd3c5dee320a74229887e6d3e81077fac0dd | |
parent | a932be9e1dd5a76bd54335a19b5ca56c3556c1b3 (diff) |
php-doctrine-doctrine-bundle: 1.6.7 (backported from Fedora)
-rw-r--r-- | php-doctrine-doctrine-bundle.spec | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/php-doctrine-doctrine-bundle.spec b/php-doctrine-doctrine-bundle.spec index 192eda6..6b7352d 100644 --- a/php-doctrine-doctrine-bundle.spec +++ b/php-doctrine-doctrine-bundle.spec @@ -12,8 +12,8 @@ %global github_owner doctrine %global github_name DoctrineBundle -%global github_version 1.6.6 -%global github_commit 0f0c4df366bd1d36d38a27e2f5ff128e118ac969 +%global github_version 1.6.7 +%global github_commit a01d99bc6c9a6c8a8ace0012690099dd957ce9b9 %global composer_vendor doctrine %global composer_project doctrine-bundle @@ -87,7 +87,7 @@ BuildRequires: php-composer(symfony/yaml) < %{symfony_max_ver BuildRequires: php-composer(symfony/yaml) >= %{symfony_min_ver} BuildRequires: php-composer(twig/twig) < %{twig_max_ver} BuildRequires: php-composer(twig/twig) >= %{twig_min_ver} -## phpcompatinfo (computed from version 1.6.4) +## phpcompatinfo (computed from version 1.6.7) BuildRequires: php-dom BuildRequires: php-pcre BuildRequires: php-reflection @@ -112,7 +112,7 @@ Requires: php-composer(symfony/doctrine-bridge) >= %{symfony_min_ver Requires: php-composer(symfony/doctrine-bridge) < %{symfony_max_ver} Requires: php-composer(symfony/framework-bundle) >= %{symfony_min_ver} Requires: php-composer(symfony/framework-bundle) < %{symfony_max_ver} -# phpcompatinfo (computed from version 1.6.4) +# phpcompatinfo (computed from version 1.6.7) Requires: php-pcre Requires: php-reflection Requires: php-spl @@ -126,11 +126,8 @@ Provides: php-composer(%{composer_vendor}/%{composer_project}) = %{version} %if 0%{?fedora} >= 21 Suggests: php-composer(doctrine/orm) Suggests: php-composer(symfony/web-profiler-bundle) -Suggests: php-composer(twig/twig) < %{twig_max_ver} +Suggests: php-composer(twig/twig) %endif -Conflicts: php-composer(doctrine/orm) < %{orm_min_ver} -Conflicts: php-composer(symfony/web-profiler-bundle) < %{symfony_min_ver} -Conflicts: php-composer(twig/twig) < %{twig_min_ver} %description Doctrine DBAL & ORM Bundle for the Symfony Framework. @@ -161,7 +158,7 @@ require_once '%{phpdir}/Fedora/Autoloader/autoload.php'; \Fedora\Autoloader\Autoload::addPsr4('Doctrine\\Bundle\\DoctrineBundle\\', __DIR__); -\Fedora\Autoloader\Dependencies::required(array( +\Fedora\Autoloader\Dependencies::required([ '%{phpdir}/Doctrine/Bundle/DoctrineCacheBundle/autoload.php', '%{phpdir}/Doctrine/DBAL/autoload.php', '%{phpdir}/jdorn-sql-formatter/autoload.php', @@ -169,16 +166,16 @@ require_once '%{phpdir}/Fedora/Autoloader/autoload.php'; '%{phpdir}/Symfony/Bundle/FrameworkBundle/autoload.php', '%{phpdir}/Symfony/Component/Console/autoload.php', '%{phpdir}/Symfony/Component/DependencyInjection/autoload.php', -)); +]); -\Fedora\Autoloader\Dependencies::optional(array( +\Fedora\Autoloader\Dependencies::optional([ '%{phpdir}/Doctrine/ORM/autoload.php', '%{phpdir}/Symfony/Bundle/WebProfilerBundle/autoload.php', - array( + [ '%{phpdir}/Twig2/autoload.php', '%{phpdir}/Twig/autoload.php', - ), -)); + ], +]); AUTOLOAD @@ -223,6 +220,11 @@ rm -rf %{buildroot} %changelog +* Sat Mar 04 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.6.7-1 +- Updated to 1.6.7 (RHBZ #1416390) +- Removed optional dependencies' conflicts +- Changed autoloader to use short array format + * Sun Jan 8 2017 Remi Collet <remi@fedoraproject.org> - 1.6.6-1 - update to 1.6.6 - allow twig 2 |