summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-05-24 11:17:39 +0200
committerRemi Collet <remi@remirepo.net>2017-05-24 11:17:39 +0200
commit3341753ea43202d5adb4f6fd131ba4415c7b6bd9 (patch)
treea1648d1e036ab0150de79dfe580338c05c9ba90f
parent9e5428b8016d01bc6fe2d4162f22ee0c24e50b8b (diff)
cleanup
-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