[packages/php-pecl-flvinfo] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:22:00 CEST 2013
commit 3779b1c24a2c63d7c2166290464ac4370c5f7d59
Author: Elan Ruusamäe <glen at delfi.ee>
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
More information about the pld-cvs-commit
mailing list