Used a macro of %license to add a license to spec file 73/124873/1 accepted/tizen/unified/20170413.163836 submit/tizen/20170413.033559 tizen_4.0.m1_release
authorjaekuk, lee <juku1999@samsung.com>
Thu, 13 Apr 2017 01:25:12 +0000 (10:25 +0900)
committerjaekuk, lee <juku1999@samsung.com>
Thu, 13 Apr 2017 01:25:12 +0000 (10:25 +0900)
Change-Id: I46cd61b7deb7f38cd98db2df3b03d865d6a9c244
Signed-off-by: jaekuk, lee <juku1999@samsung.com>
CMakeLists.txt [changed mode: 0644->0755]
packaging/capi-web-url-download.spec

old mode 100644 (file)
new mode 100755 (executable)
index 2417ee4..b62431f
@@ -65,7 +65,6 @@ CONFIGURE_FILE(
     @ONLY
 )
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name} DESTINATION share/license)
 
 IF(UNIX)
 
index fa8585c..44461b0 100755 (executable)
@@ -1,7 +1,7 @@
 
 Name:  capi-web-url-download
 Summary:       CAPI for content download with web url
-Version:       1.2.8
+Version:       1.2.9
 Release:       0
 Group:         Development/Libraries
 License:       Apache-2.0
@@ -39,7 +39,6 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
 
 %post -p /sbin/ldconfig
 
@@ -49,7 +48,7 @@ mkdir -p %{buildroot}/usr/share/license
 %defattr(-,root,root,-)
 %manifest capi-web-url-download.manifest
 %{_libdir}/libcapi-web-url-download.so.*
-/usr/share/license/%{name}
+%license LICENSE.APLv2
 
 %files devel
 %defattr(-,root,root,-)