summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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