diff options
author | Remi Collet <remi@remirepo.net> | 2017-05-30 09:52:30 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-05-30 09:52:30 +0200 |
commit | 0af87fc3dcec74c2aae33e947f68f7d892819f9a (patch) | |
tree | 3bc615d25bd44f43734963064ffb6de136fda74c | |
parent | 26fdefb1a2792503eca8d0195a2adefc2b6ef6e6 (diff) |
allow to force Symfony version using RPM_SYMFONY_TREE
-rw-r--r-- | php-doctrine-doctrine-cache-bundle.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/php-doctrine-doctrine-cache-bundle.spec b/php-doctrine-doctrine-cache-bundle.spec index a73a785..8c6ff7d 100644 --- a/php-doctrine-doctrine-cache-bundle.spec +++ b/php-doctrine-doctrine-cache-bundle.spec @@ -44,7 +44,7 @@ Name: php-%{composer_vendor}-%{composer_project} Version: %{github_version} -Release: 4%{?dist} +Release: 5%{?dist} Summary: Symfony2 Bundle for Doctrine Cache Group: Development/Libraries @@ -142,14 +142,14 @@ require_once '%{phpdir}/Fedora/Autoloader/autoload.php'; '%{phpdir}/Doctrine/Common/Cache/autoload.php', '%{phpdir}/Doctrine/Common/Inflector/autoload.php', array( - '%{phpdir}/Symfony3/Bridge/Doctrine/autoload.php', + (getenv('RPM_SYMFONY_TREE')?:'%{phpdir}/Symfony3') . '/Bridge/Doctrine/autoload.php', '%{phpdir}/Symfony/Bridge/Doctrine/autoload.php', ), )); \Fedora\Autoloader\Dependencies::optional(array( array( - '%{phpdir}/Symfony3/Component/Security/autoload.php', + (getenv('RPM_SYMFONY_TREE')?:'%{phpdir}/Symfony3') . '/Component/Security/autoload.php', '%{phpdir}/Symfony/Component/Security/autoload.php', ), )); @@ -231,6 +231,9 @@ exit $RETURN_CODE %changelog +* Tue May 30 2017 Remi Collet <remi@remirepo.net> - 1.3.0-5 +- allow to force Symfony version using RPM_SYMFONY_TREE + * Sun May 14 2017 Shawn Iwinski <shawn.iwinski@gmail.com> - 1.3.0-4 - Fix autoloder for Symfony 3 |