summaryrefslogtreecommitdiffstats
path: root/php-symfony.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-symfony.spec')
-rw-r--r--php-symfony.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/php-symfony.spec b/php-symfony.spec
index b55d4d5..78aadfc 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -13,8 +13,8 @@
%global github_owner symfony
%global github_name symfony
-%global github_version 2.8.51
-%global github_commit 78d86f8516ea82fa809c0289a01d04f5aa3c0cd0
+%global github_version 2.8.52
+%global github_commit 88f3ef62d6ab870128352c8686c7889562698faf
%global github_short %(c=%{github_commit}; echo ${c:0:7})
%global composer_vendor symfony
@@ -77,10 +77,10 @@
%global swiftmailer_max_ver 6.0
# "symfony/polyfill-php54": "~1.0"
# "symfony/polyfill-php55": "~1.0"
-# "symfony/polyfill-php56": "~1.0"
+# "symfony/polyfill-php56": "~1.8"
# "symfony/polyfill-php70": "~1.0"
# "symfony/polyfill-util": "~1.0"
-%global symfony_polyfill_min_ver 1.0
+%global symfony_polyfill_min_ver 1.8
%global symfony_polyfill_max_ver 2.0
# "symfony/security-acl": "~2.7|~3.0.0"
# NOTE: Max version not "3.1" so php-symfony-security-acl pkg is installed
@@ -107,7 +107,7 @@
Name: php-%{composer_project}
Version: %{github_version}
-Release: 2%{?dist}
+Release: 1%{?dist}
Summary: PHP framework for web projects
License: MIT
@@ -1214,8 +1214,11 @@ Requires: php-composer(%{composer_vendor}/debug) = %{version}
Requires: php-composer(%{composer_vendor}/event-dispatcher) = %{version}
Requires: php-composer(%{composer_vendor}/http-foundation) = %{version}
%if %{with_range_dependencies}
+Requires: (php-composer(symfony/polyfill-php56) >= %{symfony_polyfill_min_ver} with php-composer(symfony/polyfill-php56) < %{symfony_polyfill_max_ver})
Requires: (php-composer(psr/log) >= %{psr_log_min_ver} with php-composer(psr/log) < %{psr_log_max_ver})
%else
+Requires: php-composer(symfony/polyfill-php56) >= %{symfony_polyfill_min_ver}
+Requires: php-composer(symfony/polyfill-php56) < %{symfony_polyfill_max_ver}
Requires: php-composer(psr/log) >= %{psr_log_min_ver}
Requires: php-composer(psr/log) < %{psr_log_max_ver}
%endif
@@ -2707,6 +2710,9 @@ done
# ##############################################################################
%changelog
+* Wed Nov 13 2019 Remi Collet <remi@remirepo.net> - 2.8.52-1
+- update to 2.8.52
+
* Wed Jun 19 2019 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.8.51-2
- Disable tests by default (follows php-symfony3 and php-symfony4 pkgs)
- Always require build dependencies