summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2019-11-26 10:09:34 +0900
committerInki Dae <inki.dae@samsung.com>2021-03-03 16:46:37 +0900
commit1ddb51337cccfc1fcd29acb774f71b8acec66e3d (patch)
tree5744eb2ce0ea2e6c2cb035b8d47a37d799778f0a
parent91f29ae9f27700d156e03d361214d410c8ec5576 (diff)
downloadarmcl-1ddb51337cccfc1fcd29acb774f71b8acec66e3d.tar.gz
armcl-1ddb51337cccfc1fcd29acb774f71b8acec66e3d.tar.bz2
armcl-1ddb51337cccfc1fcd29acb774f71b8acec66e3d.zip
Dist/Tizen: spec file clean-up
1. Do not use "release" postfix for the main library package. 2. Do not use -n if you are going to have the main name as prefix. 3. Cleaned up and added missing internal dependencies Change-Id: Ic9adef91725b2f73a19b0a5d89ac8480643859da Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--packaging/libarmcl.spec22
1 files changed, 11 insertions, 11 deletions
diff --git a/packaging/libarmcl.spec b/packaging/libarmcl.spec
index 0eb976d80..080aeb372 100644
--- a/packaging/libarmcl.spec
+++ b/packaging/libarmcl.spec
@@ -13,6 +13,11 @@ BuildRequires: python3-base
BuildRequires: python
BuildRequires: scons
+# It was named "libarmcl-release", which does not obey the naming rule.
+# Added this "Provides" for backward compatibility.
+# This will be removed when the dependencies on this "obsolete" name are cleared.
+Provides: libarmcl-release=%{version}-%{release}
+
%define OPEN_CL_SUPPORT 1
%define NEON_SUPPORT 1
%define BENCHMARK_TEST 1
@@ -20,23 +25,18 @@ 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
-%package -n %{name}-release
-Summary: ARM Compute Library file
-
-%description -n %{name}-release
-Summary: ARM Compute Library file
-
%package devel
Summary: Userspace interface to ARM Compute Library
-Requires: %{name}-release = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description devel
Summary: Userspace interface to ARM Compute Library
-%package -n %{name}-tools
+%package tools
Summary: Sample application and benchmark binaries to test ARM Compute Library
+Requires: %{name} = %{version}-%{release}
-%description -n %{name}-tools
+%description tools
Summary: Sample application and benchmark binaries to test ARM Compute Library
%prep
@@ -117,7 +117,7 @@ install -m 644 %{_builddir}/%{name}-%{version}/build/tests/arm_compute_benchmark
cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
%endif
-%files -n %{name}-release
+%files
%manifest %{name}.manifest
%{_libdir}/libarm_compute*.so
@@ -130,7 +130,7 @@ cp -r %{_builddir}/%{name}-%{version}/data/* %{buildroot}%{_libdir}/data/
%{_includedir}/half/*
%{_includedir}/libnpy/*
-%files -n %{name}-tools
+%files tools
%manifest %{name}.manifest
%{_bindir}/cl_convolution
%{_bindir}/cl_events