From: Inki Dae Date: Thu, 6 Sep 2018 01:12:47 +0000 (+0900) Subject: packing: keep same package name for arm and aarch64 X-Git-Tag: submit/tizen/20210421.062230~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aea6b47b710e301a0a9410b68c372739af58440f;p=platform%2Fupstream%2Farmnn.git packing: keep same package name for arm and aarch64 Change-Id: I2330fe154b500931462a438405093270600e873b Signed-off-by: Inki Dae --- diff --git a/packaging/armnn.spec b/packaging/armnn.spec index 18e5bbf..ea73ef0 100644 --- a/packaging/armnn.spec +++ b/packaging/armnn.spec @@ -18,46 +18,22 @@ BuildRequires:libcaffeonacl-devel %description Arm Neural Networks Library -%ifarch aarch64 -%package -n %{name}-release-aarch64 -%else %package -n %{name}-release -%endif Summary: ARM Neural Network library files -%ifarch aarch64 -%description -n %{name}-release-aarch64 -%else %description -n %{name}-release -%endif Summary: ARM Neural Network library files -%ifarch aarch64 -%package -n %{name}-devel-aarch64 -%else %package -n %{name}-devel -%endif Summary: Userspace interface to ARM Neural Network Library -%ifarch aarch64 -%description -n %{name}-devel-aarch64 -%else %description -n %{name}-devel -%endif Summary: Userspace interface to ARM Neural Network Library -%ifarch aarch64 -%package -n %{name}-tools-aarch64 -%else %package -n %{name}-tools -%endif Summary: Sample application and benchmark binaries to test ARM Neural Network Library -%ifarch aarch64 -%description -n %{name}-tools-aarch64 -%else %description -n %{name}-tools -%endif Summary: Sample application and benchmark binaries to test ARM Neural Network Library %prep @@ -100,27 +76,15 @@ install -m 0644 include/armnnTfParser/* %{buildroot}%{_includedir}/armnnTfParser %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%ifarch aarch64 -%files -n %{name}-release-aarch64 -%else %files -n %{name}-release -%endif %manifest %{name}.manifest %{_libdir}/*.so -%ifarch aarch64 -%files -n %{name}-devel-aarch64 -%else %files -n %{name}-devel -%endif %manifest %{name}.manifest %{_libdir}/*.so %{_includedir}/* -%ifarch aarch64 -%files -n %{name}-tools-aarch64 -%else %files -n %{name}-tools -%endif %manifest %{name}.manifest %{_bindir}/armnn/*