[packages/php-phpmailer] use rpm5 compatible noautoreq patterns

glen glen at pld-linux.org
Thu Jan 10 12:32:53 CET 2013


commit 84952f85e09e49ab3f9db86553f0e242f1e6b51d
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 10 13:32:40 2013 +0200

    use rpm5 compatible noautoreq patterns

 php-phpmailer.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/php-phpmailer.spec b/php-phpmailer.spec
index f23927f..dbbecf1 100644
--- a/php-phpmailer.spec
+++ b/php-phpmailer.spec
@@ -5,16 +5,16 @@ Summary:	Full featured email transfer class for PHP
 Summary(pl.UTF-8):	W pełni funkcjonalna klasa PHP do przesyłania e-maili
 Name:		php-%{pkgname}
 Version:	5.2.2
-Release:	1
+Release:	2
 License:	LGPL v2.1
 Group:		Development/Languages/PHP
 Source0:	http://phpmailer.apache-extras.org.codespot.com/files/PHPMailer_%{version}.tgz
 # Source0-md5:	8c4b4a76641edfc89e3f3424da649b62
 Patch0:		paths.patch
 URL:		http://code.google.com/a/apache-extras.org/p/phpmailer/
-BuildRequires:	php-pear-PhpDocumentor
+#BuildRequires:	php-pear-PhpDocumentor
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
-BuildRequires:	rpmbuild(macros) >= 1.553
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires:	php(core) >= %{php_min_version}
 Requires:	php(date)
 Requires:	php(pcre)
@@ -31,10 +31,10 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define		_noautophp	php-openssl php-mbstring php-filter
 
 # bad depsolver
-%define		_noautopear	pear(ntlm_sasl_client.php)
+%define		_noautoreq_pear ntlm_sasl_client.php
 
 # put it together for rpmbuild
-%define		_noautoreq	%{?_noautophp} %{?_noautopear}
+%define		_noautoreq	%{?_noautophp}
 
 %description
 PHP email transport class featuring multiple file attachments, SMTP
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-phpmailer.git/commitdiff/84952f85e09e49ab3f9db86553f0e242f1e6b51d



More information about the pld-cvs-commit mailing list