From: MyungJoo Ham Date: Tue, 26 Nov 2019 02:16:21 +0000 (+0900) Subject: Dist/Tizen: spec file clean-up X-Git-Tag: submit/tizen/20200730.023729~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc88eadd0e733118985dd79f1a226e23a33f36c8;p=platform%2Fupstream%2Farmnn.git Dist/Tizen: spec file clean-up 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 --- diff --git a/packaging/armnn.spec b/packaging/armnn.spec index beba1e1..32cf52d 100644 --- a/packaging/armnn.spec +++ b/packaging/armnn.spec @@ -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