Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: remicollet/remirepo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b2e8b406fe13
Choose a base ref
...
head repository: remicollet/remirepo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d6e9078391e
Choose a head ref

Commits on Jun 29, 2016

  1. Verified

    This commit was signed with the committer’s verified signature.
    Daverball David Salvisberg
    Copy the full SHA
    89f7039 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    298908a View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    Daverball David Salvisberg
    Copy the full SHA
    5a7406b View commit details
  4. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    f7ca9e3 View commit details
  5. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    61e81c2 View commit details
  6. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    7b993f5 View commit details
  7. Verified

    This commit was signed with the committer’s verified signature.
    Daverball David Salvisberg
    Copy the full SHA
    d6bc7c3 View commit details
  8. Verified

    This commit was signed with the committer’s verified signature.
    Daverball David Salvisberg
    Copy the full SHA
    7c79027 View commit details
  9. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    03b3619 View commit details
  10. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    8dfcdd0 View commit details
  11. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    a82e422 View commit details
  12. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    antonpirker Anton Pirker
    Copy the full SHA
    84e9ef9 View commit details
  13. Copy the full SHA
    ffcd8ee View commit details
  14. Copy the full SHA
    bcf50a3 View commit details
  15. Copy the full SHA
    7dbbe3e View commit details
  16. Copy the full SHA
    d0cc367 View commit details
  17. Copy the full SHA
    6250a73 View commit details
  18. Copy the full SHA
    a845c5f View commit details
  19. Copy the full SHA
    1e4909d View commit details
  20. Copy the full SHA
    b4ff7a0 View commit details
  21. Copy the full SHA
    294c6cc View commit details
  22. Copy the full SHA
    cce054b View commit details
  23. Copy the full SHA
    330ca37 View commit details
  24. Copy the full SHA
    90a7054 View commit details
  25. php-zendframework: 3.0.0

    remicollet committed Jun 29, 2016
    Copy the full SHA
    2d6e907 View commit details
Showing with 3,788 additions and 602 deletions.
  1. +1 −1 php/zend/php-zendframework-zend-authentication/php-zendframework-zend-authentication.spec
  2. +1 −1 php/zend/php-zendframework-zend-barcode/php-zendframework-zend-barcode.spec
  3. +1 −1 php/zend/php-zendframework-zend-cache/php-zendframework-zend-cache.spec
  4. +1 −1 php/zend/php-zendframework-zend-captcha/php-zendframework-zend-captcha.spec
  5. +4 −3 php/zend/php-zendframework-zend-code/composer.json
  6. +23 −9 php/zend/php-zendframework-zend-code/php-zendframework-zend-code.spec
  7. +1 −1 php/zend/php-zendframework-zend-config/php-zendframework-zend-config.spec
  8. +1 −1 php/zend/php-zendframework-zend-console/php-zendframework-zend-console.spec
  9. +42 −0 php/zend/php-zendframework-zend-crypt/composer.json
  10. +46 −19 php/zend/php-zendframework-zend-crypt/php-zendframework-zend-crypt.spec
  11. +1 −1 php/zend/php-zendframework-zend-db/php-zendframework-zend-db.spec
  12. +1 −1 php/zend/php-zendframework-zend-debug/php-zendframework-zend-debug.spec
  13. +1 −1 php/zend/php-zendframework-zend-di/php-zendframework-zend-di.spec
  14. +1 −1 php/zend/php-zendframework-zend-dom/php-zendframework-zend-dom.spec
  15. +1 −1 php/zend/php-zendframework-zend-escaper/php-zendframework-zend-escaper.spec
  16. +45 −0 php/zend/php-zendframework-zend-eventmanager/composer.json
  17. +36 −13 php/zend/php-zendframework-zend-eventmanager/php-zendframework-zend-eventmanager.spec
  18. +1 −1 php/zend/php-zendframework-zend-feed/php-zendframework-zend-feed.spec
  19. +1 −1 php/zend/php-zendframework-zend-file/php-zendframework-zend-file.spec
  20. +1 −1 php/zend/php-zendframework-zend-filter/php-zendframework-zend-filter.spec
  21. +1 −1 php/zend/php-zendframework-zend-form/php-zendframework-zend-form.spec
  22. +1 −1 php/zend/php-zendframework-zend-http/php-zendframework-zend-http.spec
  23. +53 −0 php/zend/php-zendframework-zend-hydrator/composer.json
  24. +29 −13 php/zend/php-zendframework-zend-hydrator/php-zendframework-zend-hydrator.spec
  25. +1 −1 php/zend/php-zendframework-zend-i18n-resources/php-zendframework-zend-i18n-resources.spec
  26. +1 −1 php/zend/php-zendframework-zend-i18n/php-zendframework-zend-i18n.spec
  27. +1 −1 php/zend/php-zendframework-zend-inputfilter/php-zendframework-zend-inputfilter.spec
  28. +3 −0 php/zend/php-zendframework-zend-json-server/Makefile
  29. +52 −0 php/zend/php-zendframework-zend-json-server/composer.json
  30. +28 −0 php/zend/php-zendframework-zend-json-server/makesrc.sh
  31. +147 −0 php/zend/php-zendframework-zend-json-server/php-zendframework-zend-json-server.spec
  32. +49 −0 php/zend/php-zendframework-zend-json/composer.json
  33. +29 −24 php/zend/php-zendframework-zend-json/php-zendframework-zend-json.spec
  34. +1 −1 php/zend/php-zendframework-zend-ldap/php-zendframework-zend-ldap.spec
  35. +1 −1 php/zend/php-zendframework-zend-loader/php-zendframework-zend-loader.spec
  36. +1 −1 php/zend/php-zendframework-zend-log/php-zendframework-zend-log.spec
  37. +1 −1 php/zend/php-zendframework-zend-mail/php-zendframework-zend-mail.spec
  38. +6 −6 php/zend/php-zendframework-zend-math/composer.json
  39. +46 −14 php/zend/php-zendframework-zend-math/php-zendframework-zend-math.spec
  40. +1 −1 php/zend/php-zendframework-zend-memory/php-zendframework-zend-memory.spec
  41. +1 −1 php/zend/php-zendframework-zend-mime/php-zendframework-zend-mime.spec
  42. +1 −1 php/zend/php-zendframework-zend-modulemanager/php-zendframework-zend-modulemanager.spec
  43. +3 −0 php/zend/php-zendframework-zend-mvc-console/Makefile
  44. +66 −0 php/zend/php-zendframework-zend-mvc-console/composer.json
  45. +28 −0 php/zend/php-zendframework-zend-mvc-console/makesrc.sh
  46. +205 −0 php/zend/php-zendframework-zend-mvc-console/php-zendframework-zend-mvc-console.spec
  47. +3 −0 php/zend/php-zendframework-zend-mvc-form/Makefile
  48. +26 −0 php/zend/php-zendframework-zend-mvc-form/composer.json
  49. +85 −0 php/zend/php-zendframework-zend-mvc-form/php-zendframework-zend-mvc-form.spec
  50. +3 −0 php/zend/php-zendframework-zend-mvc-i18n/Makefile
  51. +61 −0 php/zend/php-zendframework-zend-mvc-i18n/composer.json
  52. +28 −0 php/zend/php-zendframework-zend-mvc-i18n/makesrc.sh
  53. +188 −0 php/zend/php-zendframework-zend-mvc-i18n/php-zendframework-zend-mvc-i18n.spec
  54. +3 −0 php/zend/php-zendframework-zend-mvc-plugin-fileprg/Makefile
  55. +56 −0 php/zend/php-zendframework-zend-mvc-plugin-fileprg/composer.json
  56. +28 −0 php/zend/php-zendframework-zend-mvc-plugin-fileprg/makesrc.sh
  57. +167 −0 php/zend/php-zendframework-zend-mvc-plugin-fileprg/php-zendframework-zend-mvc-plugin-fileprg.spec
  58. +3 −0 php/zend/php-zendframework-zend-mvc-plugin-flashmessenger/Makefile
  59. +52 −0 php/zend/php-zendframework-zend-mvc-plugin-flashmessenger/composer.json
  60. +28 −0 php/zend/php-zendframework-zend-mvc-plugin-flashmessenger/makesrc.sh
  61. +154 −0 ...endframework-zend-mvc-plugin-flashmessenger/php-zendframework-zend-mvc-plugin-flashmessenger.spec
  62. +3 −0 php/zend/php-zendframework-zend-mvc-plugin-identity/Makefile
  63. +53 −0 php/zend/php-zendframework-zend-mvc-plugin-identity/composer.json
  64. +28 −0 php/zend/php-zendframework-zend-mvc-plugin-identity/makesrc.sh
  65. +165 −0 php/zend/php-zendframework-zend-mvc-plugin-identity/php-zendframework-zend-mvc-plugin-identity.spec
  66. +3 −0 php/zend/php-zendframework-zend-mvc-plugin-prg/Makefile
  67. +52 −0 php/zend/php-zendframework-zend-mvc-plugin-prg/composer.json
  68. +28 −0 php/zend/php-zendframework-zend-mvc-plugin-prg/makesrc.sh
  69. +148 −0 php/zend/php-zendframework-zend-mvc-plugin-prg/php-zendframework-zend-mvc-plugin-prg.spec
  70. +3 −0 php/zend/php-zendframework-zend-mvc-plugins/Makefile
  71. +32 −0 php/zend/php-zendframework-zend-mvc-plugins/composer.json
  72. +88 −0 php/zend/php-zendframework-zend-mvc-plugins/php-zendframework-zend-mvc-plugins.spec
  73. +23 −49 php/zend/php-zendframework-zend-mvc/composer.json
  74. +95 −106 php/zend/php-zendframework-zend-mvc/php-zendframework-zend-mvc.spec
  75. +1 −1 php/zend/php-zendframework-zend-navigation/php-zendframework-zend-navigation.spec
  76. +1 −1 php/zend/php-zendframework-zend-paginator/php-zendframework-zend-paginator.spec
  77. +1 −1 php/zend/php-zendframework-zend-permissions-acl/php-zendframework-zend-permissions-acl.spec
  78. +1 −1 php/zend/php-zendframework-zend-permissions-rbac/php-zendframework-zend-permissions-rbac.spec
  79. +1 −1 php/zend/php-zendframework-zend-progressbar/php-zendframework-zend-progressbar.spec
  80. +1 −1 php/zend/php-zendframework-zend-psr7bridge/php-zendframework-zend-psr7bridge.spec
  81. +3 −0 php/zend/php-zendframework-zend-router/composer.json
  82. +21 −7 php/zend/php-zendframework-zend-router/php-zendframework-zend-router.spec
  83. +1 −1 php/zend/php-zendframework-zend-serializer/php-zendframework-zend-serializer.spec
  84. +1 −1 php/zend/php-zendframework-zend-server/php-zendframework-zend-server.spec
  85. +3 −0 php/zend/php-zendframework-zend-servicemanager-di/Makefile
  86. +54 −0 php/zend/php-zendframework-zend-servicemanager-di/composer.json
  87. +28 −0 php/zend/php-zendframework-zend-servicemanager-di/makesrc.sh
  88. +162 −0 php/zend/php-zendframework-zend-servicemanager-di/php-zendframework-zend-servicemanager-di.spec
  89. +14 −11 php/zend/php-zendframework-zend-servicemanager/composer.json
  90. +48 −24 php/zend/php-zendframework-zend-servicemanager/php-zendframework-zend-servicemanager.spec
  91. +1 −1 php/zend/php-zendframework-zend-session/php-zendframework-zend-session.spec
  92. +1 −1 php/zend/php-zendframework-zend-soap/php-zendframework-zend-soap.spec
  93. +1 −17 php/zend/php-zendframework-zend-stdlib/composer.json
  94. +22 −35 php/zend/php-zendframework-zend-stdlib/php-zendframework-zend-stdlib.spec
  95. +3 −0 php/zend/php-zendframework-zend-stratigility/Makefile
  96. +45 −0 php/zend/php-zendframework-zend-stratigility/composer.json
  97. +28 −0 php/zend/php-zendframework-zend-stratigility/makesrc.sh
  98. +170 −0 php/zend/php-zendframework-zend-stratigility/php-zendframework-zend-stratigility.spec
  99. +1 −1 php/zend/php-zendframework-zend-tag/php-zendframework-zend-tag.spec
  100. +56 −0 php/zend/php-zendframework-zend-test/composer.json
  101. +37 −16 php/zend/php-zendframework-zend-test/php-zendframework-zend-test.spec
  102. +1 −1 php/zend/php-zendframework-zend-text/php-zendframework-zend-text.spec
  103. +1 −1 php/zend/php-zendframework-zend-uri/php-zendframework-zend-uri.spec
  104. +1 −1 php/zend/php-zendframework-zend-validator/php-zendframework-zend-validator.spec
  105. +1 −1 php/zend/php-zendframework-zend-version/php-zendframework-zend-version.spec
  106. +1 −1 php/zend/php-zendframework-zend-view/php-zendframework-zend-view.spec
  107. +3 −0 php/zend/php-zendframework-zend-xml2json/Makefile
  108. +47 −0 php/zend/php-zendframework-zend-xml2json/composer.json
  109. +28 −0 php/zend/php-zendframework-zend-xml2json/makesrc.sh
  110. +131 −0 php/zend/php-zendframework-zend-xml2json/php-zendframework-zend-xml2json.spec
  111. +1 −1 php/zend/php-zendframework-zend-xmlrpc/php-zendframework-zend-xmlrpc.spec
  112. +1 −1 php/zend/php-zendframework-zendpdf/php-zendframework-zendpdf.spec
  113. +1 −1 php/zend/php-zendframework-zendservice-recaptcha/php-zendframework-zendservice-recaptcha.spec
  114. +1 −1 php/zend/php-zendframework-zendxml/php-zendframework-zendxml.spec
  115. +85 −0 php/zend/php-zendframework/composer.json
  116. +207 −190 php/zend/php-zendframework/php-zendframework.spec
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

7 changes: 4 additions & 3 deletions php/zend/php-zendframework-zend-code/composer.json
Original file line number Diff line number Diff line change
@@ -17,9 +17,10 @@
"zendframework/zend-eventmanager": "^2.6 || ^3.0"
},
"require-dev": {
"ext-phar": "*",
"doctrine/annotations": "~1.0",
"zendframework/zend-stdlib": "^2.7 || ^3.0",
"fabpot/php-cs-fixer": "1.7.*",
"squizlabs/php_codesniffer": "^2.5",
"phpunit/PHPUnit": "^4.8.21"
},
"suggest": {
@@ -30,8 +31,8 @@
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "2.6-dev",
"dev-develop": "2.7-dev"
"dev-master": "3.0-dev",
"dev-develop": "3.1-dev"
}
},
"autoload-dev": {
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
%global gh_commit 95033f061b083e16cdee60530ec260d7d628b887
%global gh_commit cdd9d0ff36c09772ca787c9c54318115f65d4fab
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
%global gh_project zend-code
@@ -20,13 +20,13 @@
%endif

Name: php-%{gh_owner}-%{gh_project}
Version: 2.6.3
Version: 3.0.3
Release: 1%{?dist}
Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

@@ -41,14 +41,14 @@ BuildRequires: php-spl
BuildRequires: php-tokenizer
BuildRequires: php-composer(%{gh_owner}/zend-eventmanager) >= 2.6
# From composer, "require-dev": {
# "ext-phar": "*",
# "doctrine/annotations": "~1.0",
# "zendframework/zend-stdlib": "^2.7 || ^3.0",
# "zendframework/zend-version": "~2.5",
# "fabpot/php-cs-fixer": "1.7.*",
# "squizlabs/php_codesniffer": "^2.5",
# "phpunit/PHPUnit": "^4.8.21"
BuildRequires: php-composer(doctrine/annotations) >= 1.0
BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7
BuildRequires: php-composer(%{gh_owner}/zend-version) >= 2.5
BuildRequires: php-composer(phpunit/phpunit) >= 4.8.21
# Autoloader
BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5
@@ -121,11 +121,22 @@ Zend\Loader\AutoloaderFactory::factory(array(
require_once '%{php_home}/Zend/autoload.php';
EOF

%{_bindir}/phpunit --include-path=%{buildroot}%{php_home}

if which php70; then
php70 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home}
# remirepo:11
run=0
ret=0
if which php56; then
php56 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} || ret=1
run=1
fi
if which php71; then
php70 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} || ret=1
run=1
fi
if [ $run -eq 0 ]; then
%{_bindir}/phpunit --include-path=%{buildroot}%{php_home} --verbose
# remirepo:2
fi
exit $ret
%else
: Test suite disabled
%endif
@@ -145,6 +156,9 @@ rm -rf %{buildroot}


%changelog
* Wed Jun 29 2016 Remi Collet <remi@fedoraproject.org> - 3.0.0-1
- update to 3.0.0 for ZendFramework 3

* Thu Apr 21 2016 Remi Collet <remi@fedoraproject.org> - 2.6.3-1
- update to 2.6.3

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

42 changes: 42 additions & 0 deletions php/zend/php-zendframework-zend-crypt/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "zendframework/zend-crypt",
"description": " ",
"license": "BSD-3-Clause",
"keywords": [
"zf2",
"crypt"
],
"homepage": "https://github.com/zendframework/zend-crypt",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.6 || ^7.0",
"ext-mbstring": "*",
"zendframework/zend-math": "^3.0",
"zendframework/zend-stdlib": "^2.7 || ^3.0",
"container-interop/container-interop": "~1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^2.3.1",
"phpunit/PHPUnit": "~4.8"
},
"suggest": {
"ext-openssl": "Required for most features of Zend\\Crypt"
},
"autoload": {
"psr-4": {
"Zend\\Crypt\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Crypt\\": "test/"
}
},
"extra": {
"branch-alias": {
"dev-master": "3.0-dev",
"dev-develop": "3.1-dev"
}
}
}
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
%global bootstrap 0
%global gh_commit 1b2f5600bf6262904167116fa67b58ab1457036d
%global gh_commit ed348e3e87c945759d11edae5316125c3582bc72
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner zendframework
%global gh_project zend-crypt
@@ -20,22 +20,22 @@
%endif

Name: php-%{gh_owner}-%{gh_project}
Version: 2.6.0
Version: 3.0.0
Release: 1%{?dist}
Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch: noarch
# Tests
%if %{with_tests}
BuildRequires: php(language) >= 5.5
BuildRequires: php-mcrypt
BuildRequires: php(language) >= 5.6
BuildRequires: php-mbstring
BuildRequires: php-hash
BuildRequires: php-openssl
BuildRequires: php-pcre
@@ -44,30 +44,36 @@ BuildRequires: php-composer(%{gh_owner}/zend-math) >= 2.5
BuildRequires: php-composer(%{gh_owner}/zend-stdlib) >= 2.5
BuildRequires: php-composer(container-interop/container-interop) >= 1.0
# From composer, "require-dev": {
# "fabpot/php-cs-fixer": "1.7.*",
# "phpunit/PHPUnit": "~4.0",
BuildRequires: php-composer(phpunit/phpunit) >= 4.0
# "squizlabs/php_codesniffer": "^2.3.1",
# "phpunit/PHPUnit": "~4.8"
BuildRequires: php-composer(phpunit/phpunit) >= 4.8
# Autoloader
BuildRequires: php-composer(%{gh_owner}/zend-loader) >= 2.5
# For dependencies autoloader
BuildRequires: php-zendframework-zend-loader >= 2.5.1-3
%endif

# From composer, "require": {
# "php": "^5.5 || ^7.0",
# "zendframework/zend-math": "^2.6",
# "php": "^5.6 || ^7.0",
# "ext-mbstring": "*",
# "zendframework/zend-math": "^3.0",
# "zendframework/zend-stdlib": "^2.7 || ^3.0",
# "container-interop/container-interop": "~1.0"
Requires: php(language) >= 5.5
Requires: php(language) >= 5.6
Requires: php-mbstring
%if ! %{bootstrap}
Requires: php-composer(%{gh_owner}/zend-math) >= 2.6
Requires: php-composer(%{gh_owner}/zend-math) < 3
Requires: php-composer(%{gh_owner}/zend-math) >= 3.0
Requires: php-composer(%{gh_owner}/zend-math) < 4
Requires: php-composer(%{gh_owner}/zend-stdlib) >= 2.7
Requires: php-composer(%{gh_owner}/zend-stdlib) < 4
Requires: php-composer(container-interop/container-interop) >= 1.0
Requires: php-composer(container-interop/container-interop) < 2
# From composer, "suggest": {
# "ext-mcrypt": "Required for most features of Zend\\Crypt"
# https://github.com/zendframework/zend-crypt/issues/3
Requires: php-mcrypt
# "ext-openssl": "Required for most features of Zend\\Crypt"
Requires: php-openssl
# Autoloader
Requires: php-composer(%{gh_owner}/zend-loader) >= 2.5
Requires: php-zendframework-zend-loader >= 2.5.1-3
%endif
# From phpcompatinfo report for version 2.5.2
Requires: php-hash
@@ -103,6 +109,12 @@ Documentation: https://zendframework.github.io/%{gh_project}/
%prep
%setup -q -n %{gh_project}-%{gh_commit}

: Create dependency autoloader
cat << 'EOF' | tee autoload.php
<?php
require_once '%{php_home}/Interop/Container/autoload.php';
EOF


%build
# Empty build section, nothing required
@@ -114,12 +126,16 @@ rm -rf %{buildroot}
mkdir -p %{buildroot}%{php_home}/Zend/
cp -pr src %{buildroot}%{php_home}/Zend/%{library}

install -m644 autoload.php %{buildroot}%{php_home}/Zend/%{library}-autoload.php


%check
%if %{with_tests}
mkdir vendor
cat << 'EOF' | tee vendor/autoload.php
<?php
define('RPM_BUILDROOT', '%{buildroot}%{php_home}/Zend');
require_once '%{php_home}/Zend/Loader/AutoloaderFactory.php';
Zend\Loader\AutoloaderFactory::factory(array(
'Zend\Loader\StandardAutoloader' => array(
@@ -130,16 +146,20 @@ Zend\Loader\AutoloaderFactory::factory(array(
require_once '%{php_home}/Zend/autoload.php';
EOF

# remirepo:11
run=0
ret=0
if which php56; then
php56 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} --verbose || ret=1
php56 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} || ret=1
run=1
fi
if which php71; then
php71 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} --verbose || ret=1
php70 %{_bindir}/phpunit --include-path=%{buildroot}%{php_home} || ret=1
run=1
fi
if [ $run -eq 0 ]; then
%{_bindir}/phpunit --include-path=%{buildroot}%{php_home} --verbose || ret=1
%{_bindir}/phpunit --include-path=%{buildroot}%{php_home} --verbose
# remirepo:2
fi
exit $ret
%else
@@ -158,9 +178,16 @@ rm -rf %{buildroot}
%doc CONTRIBUTING.md README.md
%doc composer.json
%{php_home}/Zend/%{library}
%{php_home}/Zend/%{library}-autoload.php


%changelog
* Wed Jun 29 2016 Remi Collet <remi@fedoraproject.org> - 3.0.0-1
- update to 3.0.0 for ZendFramework 3
- add dependencies autoloader
- raise dependency on PHP 5.6
- raise dependency on zend-math 3.0

* Thu Feb 4 2016 Remi Collet <remi@fedoraproject.org> - 2.6.0-1
- update to 2.6.0
- raise dependency on zend-math ~2.6
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ Summary: Zend Framework %{library} component

Group: Development/Libraries
License: BSD
URL: http://framework.zend.com/
URL: https://framework.zend.com/
Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz
Source1: makesrc.sh

Loading