summaryrefslogtreecommitdiffstats
path: root/php-symfony.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-07-21 16:01:05 +0200
committerRemi Collet <fedora@famillecollet.com>2015-07-21 16:01:05 +0200
commit32836d2f52e64bb07f562abba8ca2961816f090b (patch)
treeb41b452a257b4359603dbe05a9daee7d9d9741ef /php-symfony.spec
parent9afdcd131059533c9fe0c1ec3e0cf637b92f663a (diff)
php-symfony: sync with fedora Rawhide
Diffstat (limited to 'php-symfony.spec')
-rw-r--r--php-symfony.spec19
1 files changed, 17 insertions, 2 deletions
diff --git a/php-symfony.spec b/php-symfony.spec
index 00b2cb2..241c73c 100644
--- a/php-symfony.spec
+++ b/php-symfony.spec
@@ -90,7 +90,7 @@
Name: php-%{composer_project}
Version: %{github_version}
-Release: 2%{?dist}.1
+Release: 3%{?dist}
Summary: PHP framework for web projects
Group: Development/Libraries
@@ -98,6 +98,12 @@ License: MIT
URL: http://symfony.com
Source0: https://github.com/%{github_owner}/%{github_name}/archive/%{github_commit}/%{name}-%{github_version}-%{github_short}.tar.gz
+# [HttpFoundation] [PSR-7] Allow to use resources as content body and to return
+# resources from string content
+# https://github.com/symfony/symfony/pull/15249
+# https://github.com/symfony/psr-http-message-bridge/issues/8
+Patch0: %{name}-pr15249.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Tests
@@ -1576,7 +1582,6 @@ Requires: php-gd
Requires: php-iconv
Requires: php-json
Requires: php-mbstring
-Requires: php-mysql
Requires: php-pcre
Requires: php-posix
Requires: php-reflection
@@ -1601,6 +1606,9 @@ output formats and methods.
Optional:
* AMQP (php-pecl-amqp)
+* MySQL (php-mysql)
+ Required for
+ Symfony\Component\VarDumper\Caster\ResourceCaster::castMysqlLink()
# ------------------------------------------------------------------------------
@@ -1636,6 +1644,9 @@ The YAML Component loads and dumps YAML files.
%prep
%setup -qn %{github_name}-%{github_commit}
+%patch0 -p1
+rm -f src/Symfony/Component/HttpFoundation/Request.php.orig
+
: Remove unnecessary files
find src -name '.git*' -delete
@@ -2501,6 +2512,10 @@ exit $RET
# ##############################################################################
%changelog
+* Mon Jul 21 2015 Shawn Iwinski <shawn.iwinski@gmail.com> - 2.7.2-3
+- Added patch for symfony/psr-http-message-bridge
+- Removed php-mysql dependency from var-dumper
+
* Mon Jul 13 2015 Remi Collet <remi@remirepo.net> - 2.7.2-2.1
- drop dependency on sqlite3 on EL-5