commit 944b60b7441c17493797d9bc00936d97051e8d8e
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Sep 21 15:45:43 2015 +0300

    unify php extension package

 php-ioncube.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-ioncube.spec b/php-ioncube.spec
index 1840908..89e94f4 100644
--- a/php-ioncube.spec
+++ b/php-ioncube.spec
@@ -1,7 +1,8 @@
+%define                php_name        php%{?php_suffix}
 %define                modname         ioncube
 Summary:       ionCube loader module for PHP
 Summary(pl.UTF-8):     Moduł wczytujący ionCube dla PHP
-Name:          php%{?php_suffix}-%{modname}
+Name:          %{php_name}-%{modname}
 Version:       5.0.18
 Release:       1
 License:       redistributable
@@ -12,7 +13,7 @@ Source0:      
http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.
 Source1:       
http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2
 # Source1-md5: 20329d3b324039892215e84c2ea6b0bc
 URL:           http://www.ioncube.com/
-BuildRequires: php%{?php_suffix}-devel >= 4:5.2.0
+BuildRequires: %{php_name}-devel >= 4:5.2.0
 BuildRequires: rpmbuild(macros) >= 1.579
 BuildRequires: sed >= 4.0
 %{?requires_php_extension}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-ioncube.git/commitdiff/944b60b7441c17493797d9bc00936d97051e8d8e

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

Reply via email to