[packages/php-phpmailer] really package PHPMailerAutoload.php

glen glen at pld-linux.org
Sat Nov 9 22:59:52 CET 2013


commit 2e2daa2946bc0bc31cdeba185f6aa682d0bea969
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Nov 9 23:59:47 2013 +0200

    really package PHPMailerAutoload.php

 php-phpmailer.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-phpmailer.spec b/php-phpmailer.spec
index 9afd054..688e7ea 100644
--- a/php-phpmailer.spec
+++ b/php-phpmailer.spec
@@ -92,7 +92,7 @@ install -d $RPM_BUILD_ROOT{%{php_data_dir},%{_appdir}/language}
 ln -s %{_appdir}/class.phpmailer.php $RPM_BUILD_ROOT%{php_data_dir}
 ln -s %{_appdir}/PHPMailerAutoload.php $RPM_BUILD_ROOT%{php_data_dir}
 
-cp -p class.phpmailer.php $RPM_BUILD_ROOT%{_appdir}
+cp -p class.phpmailer.php PHPMailerAutoload.php $RPM_BUILD_ROOT%{_appdir}
 # plugins: for smtp and pop before smtp auth
 cp -p class.{smtp,pop3}.php  $RPM_BUILD_ROOT%{_appdir}
 # language: translations of error messages
@@ -116,10 +116,11 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc README.md changelog.md docs/*
 # public interfaces
-%{php_data_dir}/class.phpmailer.php
 %{php_data_dir}/PHPMailerAutoload.php
+%{php_data_dir}/class.phpmailer.php
 
 %dir %{_appdir}
+%{_appdir}/PHPMailerAutoload.php
 %{_appdir}/class.phpmailer.php
 %{_appdir}/class.pop3.php
 %{_appdir}/class.smtp.php
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpmailer.git/commitdiff/2e2daa2946bc0bc31cdeba185f6aa682d0bea969



More information about the pld-cvs-commit mailing list