Update spec file for license macro, Remove unused variable 10/120310/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.171841 accepted/tizen/ivi/20170329.221926 accepted/tizen/mobile/20170329.221804 accepted/tizen/tv/20170329.221854 accepted/tizen/unified/20170329.221943 accepted/tizen/wearable/20170329.221910 submit/tizen/20170328.103759
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 22 Mar 2017 07:32:25 +0000 (16:32 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 22 Mar 2017 08:45:45 +0000 (17:45 +0900)
[Version] 0.2.99-1
[Profile] Common
[Issue Type] Update
[Dependency module] N/A

Change-Id: Ibd325bef7202f35b56bf4dfee023bb7b9a1a44f1
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/capi-media-camera.spec
test/camera_test.c

index 7df9e0e..00dc4d9 100644 (file)
@@ -1,7 +1,7 @@
 Name:       capi-media-camera
 Summary:    A Camera API
 Version:    0.2.99
-Release:    0
+Release:    1
 Group:      Multimedia/API
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -71,8 +71,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}%{_datadir}/license
-cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
 
 
 %post -p /sbin/ldconfig
@@ -82,8 +80,8 @@ cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
 
 %files
 %manifest capi-media-camera.manifest
+%license LICENSE.APLv2
 %{_libdir}/libcapi-media-camera.so.*
-%{_datadir}/license/%{name}
 %if "%{TIZEN_PRODUCT_TV}" != "1"
 %{_bindir}/*
 %endif
index 4066f90..022074c 100644 (file)
@@ -791,7 +791,6 @@ static void setting_menu(gchar buf)
        int min = 0;
        int max = 0;
        int i = 0;
-       int value = 0;
        int err = 0;
        int x = 0;
        int y = 0;