Dist/Tizen: spec file clean-up
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 26 Nov 2019 02:16:21 +0000 (11:16 +0900)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Mar 2021 05:20:38 +0000 (14:20 +0900)
1. Do not use "release" postfix for the main library.
2. Do not use -n %{name} prefix. Drop that.
3. Added missing interanl dependencies

Change-Id: Ibb617be8206df149cd2849deef4fbc859484ebfc
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/armnn.spec

index beba1e1..32cf52d 100644 (file)
@@ -8,7 +8,9 @@ Source0:        %{name}-%{version}.tar.gz
 Source1001:    %name.manifest
 ExclusiveArch:  %arm aarch64
 
-Provides:       armnn-release = %{version}-%{release}
+# For the backward compatility while meeting the naming convention
+# This "Provides" will be removed after removing all obsolete dependencies
+Provides:      armnn-release = %{version}-%{release}
 
 BuildRequires: curl
 BuildRequires: cmake
@@ -55,7 +57,7 @@ Summary:        Userspace interface to ARM Neural Network Library
 
 %package tools
 Summary:       Sample application and benchmark binaries to test ARM Neural Network Library
-Requires:       armnn = %{version}-%{release}
+Requires:      armnn = %{version}-%{release}
 
 %description tools
 Summary:       Sample application and benchmark binaries to test ARM Neural Network Library
@@ -119,7 +121,6 @@ install -m 0644 include/armnnTfParser/* %{buildroot}%{_includedir}/armnnTfParser
 
 %files devel
 %manifest %{name}.manifest
-%{_libdir}/*.so
 %{_includedir}/*
 
 %files tools