summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-06-07 16:50:47 +0200
committerRemi Collet <remi@remirepo.net>2018-06-07 16:50:47 +0200
commit064270f661da3faea632b15022aa40ddb1b1eaa7 (patch)
tree2847a51d4e881be38c3b91cb56b8a68a103d9202
parent81bd823cdbc912050366f021ae595f4280028690 (diff)
missing dependency autoloader (deprecated)
-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