From: Elan Ruusamäe Date: Tue, 17 Jun 2008 05:29:17 +0000 (+0000) Subject: - use %php_data_dir macro X-Git-Tag: auto/ac/php-phpmailer-2_3-1~11 X-Git-Url: https://git.pld-linux.org/?p=packages%2Fphp-phpmailer.git;a=commitdiff_plain;h=c24055db6ccdae7fddc2f2814e2f89b51c40d350 - use %php_data_dir macro Changed files: php-phpmailer.spec -> 1.4 --- diff --git a/php-phpmailer.spec b/php-phpmailer.spec index 5458e2e..81b7a18 100644 --- a/php-phpmailer.spec +++ b/php-phpmailer.spec @@ -8,10 +8,11 @@ Group: Development/Languages/PHP Source0: http://dl.sourceforge.net/phpmailer/PHPMailer_v%{version}.tar.gz # Source0-md5: 1fba7b3b8f67197c371da2f791d517de URL: http://phpmailer.codeworxtech.com/ +BuildRequires: rpmbuild(macros) >= 1.461 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _appdir /usr/share/php/%{name} +%define _appdir %{php_data_dir}/%{name} %description PHP email transport class featuring multiple file attachments, SMTP