- up to 5.1.2 auto/th/php-ioncube-5.1.2-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 15 Jul 2016 06:46:12 +0000 (08:46 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 15 Jul 2016 06:46:12 +0000 (08:46 +0200)
php-ioncube.spec

index a8c8602d0ecfa16473d2bd30ccda9ceab5904f41..5ea3486a3f8d94bd40b65b18858ce47b28a10032 100644 (file)
@@ -3,15 +3,15 @@
 Summary:       ionCube loader module for PHP
 Summary(pl.UTF-8):     Moduł wczytujący ionCube dla PHP
 Name:          %{php_name}-%{modname}
-Version:       5.0.19
+Version:       5.1.2
 Release:       1
 License:       redistributable
 Group:         Libraries
 # www.ioncube.com/loaders.php
-Source0:       http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.bz2
-# Source0-md5: 9443a085d9a9f85b9618d05d41100889
-Source1:       http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2
-# Source1-md5: fce822d48dc8b17202c32c8763fe79d8
+Source0:       http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
+# Source0-md5: 8dc5b07f459919183aeb1c7c53c37b83
+Source1:       http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
+# Source1-md5: dbff6dcfde17c34c9d38fe5adabf939b
 URL:           http://www.ioncube.com/
 BuildRequires: %{php_name}-devel >= 4:5.2.0
 BuildRequires: rpmbuild(macros) >= 1.579
@@ -37,7 +37,7 @@ Moduł wczytujący ionCube dla PHP.
 
 %build
 mv ioncube_loader_lin_%{php_major_version}.%{php_minor_version}%{?zend_zts}.so %{modname}.so
-ver=$(strings %{modname}.so | grep -F %{version})
+ver=$(strings %{modname}.so | grep -F %{version} | grep "^%{version}")
 if [ "$ver" != "%{version}" ]; then
        exit 1
 fi
This page took 0.104906 seconds and 4 git commands to generate.