summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-28 08:44:22 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-28 08:44:22 +0100
commit2be19abc3e9255701bcd9c68743d5496e3d29e29 (patch)
treeb4f53eba73c23bac9946022e1f9fd05b2e53a318
parent4a8c9317b5643f715e3f3be964d78c988edc3651 (diff)
php-zendframework-zend-servicemanager: 2.7.4
-rwxr-xr-xmakesrc.sh1
-rw-r--r--php-zendframework-zend-servicemanager.spec32
2 files changed, 23 insertions, 10 deletions
diff --git a/makesrc.sh b/makesrc.sh
index 24fbf81..e9a1ec5 100755
--- a/makesrc.sh
+++ b/makesrc.sh
@@ -16,6 +16,7 @@ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT
echo "Getting commit..."
pushd $PROJECT-$COMMIT
git checkout $COMMIT
+cp composer.json ../composer-$VERSION.json
popd
echo "Archiving..."
diff --git a/php-zendframework-zend-servicemanager.spec b/php-zendframework-zend-servicemanager.spec
index 8b77cd0..5eb6179 100644
--- a/php-zendframework-zend-servicemanager.spec
+++ b/php-zendframework-zend-servicemanager.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
-%global gh_commit 3b22c403e351d92526c642cba0bd810bc22e1c56
+%global gh_commit 846f8a4f9c2e438e45d2de5cec11509cb7e08d79
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
%global gh_project zend-servicemanager
@@ -20,8 +20,8 @@
%endif
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.5.1
-Release: 2%{?dist}
+Version: 2.7.4
+Release: 1%{?dist}
Summary: Zend Framework %{library} component
Group: Development/Libraries
@@ -34,27 +34,31 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
# Tests
%if %{with_tests}
-BuildRequires: php(language) >= 5.3.23
+BuildRequires: php(language) >= 5.5
+BuildRequires: php-composer(container-interop/container-interop) >= 1.0
BuildRequires: php-spl
# From composer, "require-dev": {
# "zendframework/zend-di": "~2.5",
# "zendframework/zend-mvc": "~2.5",
# "fabpot/php-cs-fixer": "1.7.*",
-# "phpunit/PHPUnit": "~4.0"
+# "phpunit/PHPUnit": "~4.0",
+# "athletic/athletic": "dev-master"
BuildRequires: php-composer(%{gh_owner}/zend-di) >= 2.5
BuildRequires: php-composer(%{gh_owner}/zend-mvc) >= 2.5
BuildRequires: php-composer(phpunit/phpunit) >= 4.0
# Because of bootstrap
-BuildRequires: php-composer(%{gh_owner}/zend-code) >= 2.5
+BuildRequires: php-composer(%{gh_owner}/zend-code) >= 2.5
# Autoloader
BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5
%endif
# From composer, "require": {
-# "php": ">=5.3.23"
-Requires: php(language) >= 5.3.23
-# From phpcompatinfo report for version 2.5.2
-Requires: php-reflection
+# "php": "^5.5 || ^7.0"
+# "container-interop/container-interop": "~1.0"
+Requires: php(language) >= 5.5
+Requires: php-composer(container-interop/container-interop) >= 1.0
+Requires: php-composer(container-interop/container-interop) < 2
+# From phpcompatinfo report for version 2.7.4
Requires: php-spl
%if ! %{bootstrap}
# From composer, "suggest": {
@@ -82,6 +86,9 @@ retrieving other objects.
%prep
%setup -q -n %{gh_project}-%{gh_commit}
+# NOTICE container-interop/container-interop is PSR-0
+# so will be managed by the fallback_autoloader option
+
%build
# Empty build section, nothing required
@@ -133,6 +140,11 @@ rm -rf %{buildroot}
%changelog
+* Thu Jan 28 2016 Remi Collet <remi@fedoraproject.org> - 2.7.4-2
+- update to 2.7.4
+- raise minimal php version to 5.5
+- add dependency on container-interop/container-interop ~1.0
+
* Thu Aug 6 2015 Remi Collet <remi@fedoraproject.org> - 2.5.1-2
- fix description