[projects/template-specs] php suffix support
glen
glen at pld-linux.org
Fri May 24 15:50:14 CEST 2013
commit 9ec83f1835ed02ab4a7ffc8d57d7a07179852176
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 24 16:50:03 2013 +0300
php suffix support
php-pecl.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/php-pecl.spec b/php-pecl.spec
index 0143e5b..685dcbb 100644
--- a/php-pecl.spec
+++ b/php-pecl.spec
@@ -2,19 +2,20 @@
# Conditional build:
%bcond_without tests # build without tests
+%define php_name php%{?php_suffix}
%define modname -
Summary: %{modname} -
Summary(pl.UTF-8): %{modname} -
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 1.0
Release: 1
License: PHP 3.01
Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: -
-URL: http://pecl.php.net/package/Modname/
-BuildRequires: php-devel >= 4:5.0.4
-BuildRequires: rpmbuild(macros) >= 1.519
+URL: http://pecl.php.net/package/modname/
+BuildRequires: %{php_name}-devel
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/9ec83f1835ed02ab4a7ffc8d57d7a07179852176
More information about the pld-cvs-commit
mailing list