Update spec file for license macro 98/121398/1 accepted/tizen_3.0_ivi accepted/tizen/3.0/common/20170328.142147 accepted/tizen/3.0/ivi/20170328.112903 accepted/tizen/3.0/mobile/20170328.112802 accepted/tizen/3.0/tv/20170328.112821 accepted/tizen/3.0/wearable/20170328.112856 submit/tizen_3.0/20170328.044048
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 27 Mar 2017 05:55:57 +0000 (14:55 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Tue, 28 Mar 2017 02:25:14 +0000 (11:25 +0900)
Change-Id: I6177c59933406111e29b058775d35a86f824c176
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/opencv.spec

index 5393516..4248eb9 100644 (file)
@@ -2,7 +2,7 @@ Name: opencv
 VCS:  #e3ca2f3bdcac02e9780c2de7001310a2a61a483e-dirty
 Summary: OpenCV library
 Version: 2.4.9
-Release: 9
+Release: 11
 Group: Development/Libraries
 License: BSD-2.0 and LGPL-2.1+
 Source0: %{name}-%{version}.tar.gz
@@ -147,9 +147,6 @@ make %{?jobs:-j%jobs}
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE %{buildroot}%{_datadir}/license/%{name}
-cat LICENSE.LGPL-2.1+ >> %{buildroot}%{_datadir}/license/%{name}
 %make_install
 
 
@@ -165,8 +162,8 @@ rm -rf %{buildroot}
 %files
 %manifest opencv.manifest
 %defattr(-,root,root,-)
+%license LICENSE LICENSE.LGPL-2.1+
 %{_libdir}/*.so.*
-%{_datadir}/license/*
 /usr/share/*
 
 %files devel