summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-ioncube-loader.spec7
1 files changed, 0 insertions, 7 deletions
diff --git a/php-ioncube-loader.spec b/php-ioncube-loader.spec
index dd54572..7fe4112 100644
--- a/php-ioncube-loader.spec
+++ b/php-ioncube-loader.spec
@@ -35,7 +35,6 @@ Source0: http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_x8
Source1: http://downloads2.ioncube.com/loader_downloads/%{extname}s_lin_x86-64_%{version}.tar.gz
Source2: LICENSE.txt
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: %{?scl_prefix}php-devel
# ABI check
@@ -136,7 +135,6 @@ diff %{extname}.nts %{extname}.zts || : ok
%install
-rm -rf %{buildroot}
ver=$(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')
if [ ! -f ioncube/%{extname}_lin_${ver}.so ]; then
@@ -166,12 +164,7 @@ install -D -m 644 %{extname}.zts %{buildroot}%{php_ztsinid
%endif
-%clean
-rm -rf %{buildroot}
-
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license ioncube/LICENSE.txt
%doc ioncube/USER-GUIDE.txt