unify php extension package
authorElan Ruusamäe <glen@delfi.ee>
Mon, 21 Sep 2015 12:45:43 +0000 (15:45 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 21 Sep 2015 12:45:43 +0000 (15:45 +0300)
php-ioncube.spec

index 1840908a7af4d94eb4523b1f6f498cd887a5f6cd..89e94f493a3a23b764f6f3205aa356aacb611062 100644 (file)
@@ -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}
This page took 0.131931 seconds and 4 git commands to generate.