summaryrefslogtreecommitdiffstats
path: root/php-zendframework-zend-mail.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-zendframework-zend-mail.spec')
-rw-r--r--php-zendframework-zend-mail.spec10
1 files changed, 10 insertions, 0 deletions
diff --git a/php-zendframework-zend-mail.spec b/php-zendframework-zend-mail.spec
index 0a97aaa..2cf7e3a 100644
--- a/php-zendframework-zend-mail.spec
+++ b/php-zendframework-zend-mail.spec
@@ -158,6 +158,12 @@ mv LICENSE.md LICENSE
%build
+: Create dependency autoloader - deprecated
+cat << 'EOF' | tee autoload.php
+<?php
+require_once '%{php_home}/TrueBV/autoload.php';
+EOF
+
: Create autoloader
phpab --template fedora --output src/autoload.php src
cat << 'EOF' | tee -a src/autoload.php
@@ -179,6 +185,8 @@ EOF
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}
@@ -212,12 +220,14 @@ exit $ret
%doc *.md
%doc composer.json
%{php_home}/Zend/%{library}
+%{php_home}/Zend/%{library}-autoload.php
%changelog
* Thu Jun 7 2018 Remi Collet <remi@remirepo.net> - 2.10.0-2
- update to 2.10.0
- lower dependency on PHP 5.6
+- raise dependency on zend-validator 2.10.2
- add dependency on true/punycode
* Fri Mar 2 2018 Remi Collet <remi@remirepo.net> - 2.9.0-1