summaryrefslogtreecommitdiffstats
path: root/php-doctrine-doctrine-cache-bundle.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-doctrine-cache-bundle.spec')
-rw-r--r--php-doctrine-doctrine-cache-bundle.spec9
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