[packages/php-pecl-pam] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:25:24 CEST 2013
commit bff028bb944b298f82575d72d3f6e0617e78729e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:39 2013 +0300
support building for multiple php versions
php-pecl-pam.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-pam.spec b/php-pecl-pam.spec
index 41a8afd..174c7d1 100644
--- a/php-pecl-pam.spec
+++ b/php-pecl-pam.spec
@@ -1,8 +1,9 @@
+%define php_name php%{?php_suffix}
%define modname pam
%define status stable
Summary: %{modname} - PAM integration
Summary(pl.UTF-8): %{modname} - integracja z PAM-em
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 1.0.3
Release: 6
License: PHP
@@ -11,8 +12,8 @@ Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: 2dfd378a76021245050333cd4d49ed96
URL: http://pecl.php.net/package/PAM/
BuildRequires: pam-devel
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 3:5.0.0
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
Requires: php(core) >= 5.0.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-pam.git/commitdiff/bff028bb944b298f82575d72d3f6e0617e78729e
More information about the pld-cvs-commit
mailing list