summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/capi-media-camera.spec6
-rw-r--r--test/camera_test.c1
2 files changed, 2 insertions, 5 deletions
diff --git a/packaging/capi-media-camera.spec b/packaging/capi-media-camera.spec
index 7df9e0e..00dc4d9 100644
--- a/packaging/capi-media-camera.spec
+++ b/packaging/capi-media-camera.spec
@@ -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
diff --git a/test/camera_test.c b/test/camera_test.c
index 4066f90..022074c 100644
--- a/test/camera_test.c
+++ b/test/camera_test.c
@@ -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;