]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
php suffix support
authorElan Ruusamäe <glen@delfi.ee>
Fri, 24 May 2013 13:50:03 +0000 (16:50 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 24 May 2013 13:50:03 +0000 (16:50 +0300)
php-pecl.spec

index 0143e5beb6bb19fedb1d9f8baaf7973a07db092c..685dcbbcb53c6a9d5d40fb0ea606e4f70d375761 100644 (file)
@@ -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)
 
This page took 0.240466 seconds and 4 git commands to generate.