sensord: delete the duplicated manifest file and clean up spec file
[platform/core/api/sensor.git] / packaging / capi-system-sensor.spec
index 4817eab..3720474 100644 (file)
@@ -5,7 +5,6 @@ Release:    0
 Group:      System/API
 License:    Apache-2.0 and PD
 Source0:    %{name}-%{version}.tar.gz
-Source1:    capi-system-sensor.manifest
 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -30,7 +29,6 @@ A Sensor library in TIZEN C API package (Development).
 %setup -q
 
 %build
-cp %{SOURCE1} .
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %__make %{?_smp_mflags}
@@ -44,14 +42,13 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %files
-%manifest capi-system-sensor.manifest
+%manifest packaging/capi-system-sensor.manifest
 %{_libdir}/libcapi-system-sensor.so.*
 %license LICENSE.APLv2
 
 %files devel
-%manifest capi-system-sensor.manifest
-%license LICENSE.APLv2
+%manifest packaging/capi-system-sensor.manifest
 %{_libdir}/libcapi-system-sensor.so
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/sensor/*.h
-
+%license LICENSE.APLv2