]> git.pld-linux.org Git - packages/php-pecl-mailparse.git/commitdiff
support building for multiple php versions AC-branch auto/ac/php-pecl-mailparse-2.1.6-3
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:38 +0000 (20:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:38 +0000 (20:18 +0300)
php-pecl-mailparse.spec

index 2e0cfc6f54de0b1f63ebda9b8bdb5aeeb5387479..7ca9e42194e165056c8a14bbe912c0bd00df5c77 100644 (file)
@@ -1,8 +1,9 @@
+%define                php_name        php%{?php_suffix}
 %define                modname mailparse
 %define                status          stable
 Summary:       %{modname} - email message manipulation
 Summary(pl.UTF-8):     %{modname} - obrabianie wiadomości E-mail
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       2.1.6
 Release:       3
 License:       PHP 2.02
@@ -10,8 +11,8 @@ Group:                Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 0f84e1da1d074a4915a9bcfe2319ce84
 URL:           http://pecl.php.net/package/mailparse/
-BuildRequires: php-devel >= 4:5.2.0-7.2
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 4:5.2.0-7.2
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:      php(core) >= 5.0.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This page took 0.0399 seconds and 4 git commands to generate.