packaging: clean up spec file 19/187619/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.022444 accepted/tizen/unified/20180831.061620 accepted/tizen/unified/20180911.055435 submit/tizen/20180830.072504 submit/tizen/20180911.000549 submit/tizen/20180911.010837 submit/tizen/20180912.060823 submit/tizen_5.0/20181101.000005
authorInki Dae <inki.dae@samsung.com>
Thu, 23 Aug 2018 07:25:37 +0000 (16:25 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 23 Aug 2018 07:25:37 +0000 (16:25 +0900)
Change-Id: I781361e146dea7ba666dfd1a244765b025d85cc2
Signed-off-by: Inki Dae <inki.dae@samsung.com>
packaging/libarmcl.spec

index 8b79a97ffd82a4dd05953f93e65509aae1dad27d..0339e875bd333fcbd50b0adf27013069093d4dd3 100644 (file)
@@ -20,46 +20,22 @@ BuildRequires: scons
 %description
 The ARM Computer Vision and Machine Learning library is a set of functions optimised for both ARM CPUs and GPUs using SIMD technologies
 
-%ifarch aarch64
-%package -n %{name}-release-aarch64
-%else
 %package -n %{name}-release
-%endif
 Summary:        ARM Compute Library file
 
-%ifarch aarch64
-%description -n %{name}-release-aarch64
-%else
 %description -n %{name}-release
-%endif
 Summary:        ARM Compute Library file
 
-%ifarch aarch64
-%package -n %{name}-devel-aarch64
-%else
 %package -n %{name}-devel
-%endif
 Summary:        Userspace interface to ARM Compute Library
 
-%ifarch aarch64
-%description -n %{name}-devel-aarch64
-%else
 %description -n %{name}-devel
-%endif
 Summary:        Userspace interface to ARM Compute Library
 
-%ifarch aarch64
-%package -n %{name}-tools-aarch64
-%else
 %package -n %{name}-tools
-%endif
 Summary:       Sample application and benchmark binaries to test ARM Compute Library
 
-%ifarch aarch64
-%description -n %{name}-tools-aarch64
-%else
 %description -n %{name}-tools
-%endif
 Summary:       Sample application and benchmark binaries to test ARM Compute Library
 
 %prep
@@ -141,19 +117,11 @@ install -m 644 %{_builddir}/%{name}-%{version}/build/tests/arm_compute_benchmark
 cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
 %endif
 
-%ifarch aarch64
-%files -n %{name}-release-aarch64
-%else
 %files -n %{name}-release
-%endif
 %manifest %{name}.manifest
 %{_libdir}/libarm_compute*.so
 
-%ifarch aarch64
-%files -n %{name}-devel-aarch64
-%else
 %files -n %{name}-devel
-%endif
 %manifest %{name}.manifest
 %{_libdir}/libarm_compute*.so
 %{_libdir}/libOpenCL.so
@@ -163,11 +131,7 @@ cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
 %{_includedir}/half/*
 %{_includedir}/libnpy/*
 
-%ifarch aarch64
-%files -n %{name}-tools-aarch64
-%else
 %files -n %{name}-tools
-%endif
 %manifest %{name}.manifest
 %{_bindir}/cl_convolution
 %{_bindir}/cl_events