From d90e171b071a672fc100e24fa158bfd56545bfc1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 21 Sep 2015 15:44:31 +0300 Subject: [PATCH] move version check to build --- php-ioncube.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/php-ioncube.spec b/php-ioncube.spec index 92d6e6f..1840908 100644 --- a/php-ioncube.spec +++ b/php-ioncube.spec @@ -34,6 +34,7 @@ Moduł wczytujący ionCube dla PHP. %setup -q -T -b 1 -n %{modname} %endif +%build mv ioncube_loader_lin_%{php_major_version}.%{php_minor_version}%{?zend_zts}.so %{modname}.so ver=$(strings %{modname}.so | grep -F %{version}) if [ "$ver" != "%{version}" ]; then -- 2.43.0