[packages/php-pecl-inotify] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:23:22 CEST 2013
commit 8b86e47b763ea1ad0aee14404c00ae0107d53f6b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:38 2013 +0300
support building for multiple php versions
php-pecl-inotify.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-inotify.spec b/php-pecl-inotify.spec
index 096573e..7339623 100644
--- a/php-pecl-inotify.spec
+++ b/php-pecl-inotify.spec
@@ -1,8 +1,9 @@
+%define php_name php%{?php_suffix}
%define modname inotify
%define status stable
Summary: %{modname} - php bindings
Summary(pl.UTF-8): %{modname} - dowiązania php
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 0.1.6
Release: 3
License: PHP 3.01
@@ -10,9 +11,9 @@ Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: c7d837c4837d8132c451c6ab37ef917e
URL: http://pecl.php.net/package/inotify/
+BuildRequires: %{php_name}-devel >= 3:5.0.0
BuildRequires: glibc-devel >= 6:2.3.6-19
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.344
+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-inotify.git/commitdiff/8b86e47b763ea1ad0aee14404c00ae0107d53f6b
More information about the pld-cvs-commit
mailing list