commit 3779b1c24a2c63d7c2166290464ac4370c5f7d59
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Jun 21 20:18:37 2013 +0300

    support building for multiple php versions

 php-pecl-flvinfo.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-flvinfo.spec b/php-pecl-flvinfo.spec
index 04a7227..39e209c 100644
--- a/php-pecl-flvinfo.spec
+++ b/php-pecl-flvinfo.spec
@@ -1,7 +1,8 @@
+%define                php_name        php%{?php_suffix}
 %define                modname flvinfo
 %define                status  stable
 Summary:       %{modname} - Provides file info of FLV files
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       0.5
 Release:       1
 License:       PHP 2.02
@@ -9,9 +10,9 @@ Group:         Development/Languages/PHP
 Source0:       flvinfo-%{version}.tar.bz2
 # Source0-md5: 5fb71336eac15cf31f840d12d289f6f9
 URL:           https://github.com/glensc/php-pecl-flvinfo
+BuildRequires: %{php_name}-devel >= 4:5.0
 BuildRequires: ffmpeg-devel >= 0.4.9-3.20061204.1.3
-BuildRequires: php-devel >= 4:5.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:      php(core) >= 5.0.4
 Provides:      php(%{modname})
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-flvinfo.git/commitdiff/3779b1c24a2c63d7c2166290464ac4370c5f7d59

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to