Update a spec file 24/271424/2 accepted/tizen/unified/20220301.151340 submit/tizen/20220224.052158
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 21 Feb 2022 05:14:57 +0000 (14:14 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 21 Feb 2022 06:28:24 +0000 (15:28 +0900)
[Version] 4.5.3-1
[Issue type] Udpate

Cmake files when required at build time are moved to a devel package and
so files are removed from a devel package.

Change-Id: I798ad22458a9bb89a17bea6e477414ecf1c3dbf9
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/opencv.spec

index 1c92293..3c2448b 100644 (file)
@@ -1,7 +1,7 @@
 Name: opencv
 Summary: OpenCV library
 Version: 4.5.3
-Release: 0
+Release: 1
 Group: Development/Libraries
 License: Apache-2.0 and BSD-3-Clause
 Source0: %{name}-%{version}.tar.gz
@@ -294,8 +294,8 @@ fi
 %manifest opencv.manifest
 %defattr(-,root,root,-)
 %license LICENSE LICENSE.BSD-3-Clause
-%{_libdir}/*.so.*
-%{_libdir}/cmake/opencv4/*.cmake
+%{_libdir}/*.so*
+
 /usr/share/licenses/opencv4/*
 /usr/share/opencv4/haarcascades/*frontalface_alt*
 /usr/share/opencv4/haarcascades/*smile*
@@ -327,5 +327,5 @@ fi
 %files devel
 /usr/include/*
 %{_libdir}/pkgconfig/*.pc
-%{_libdir}/*.so
+%{_libdir}/cmake/opencv4/*.cmake
 %doc