From: jaekuk, lee Date: Thu, 13 Apr 2017 01:25:12 +0000 (+0900) Subject: Used a macro of %license to add a license to spec file X-Git-Tag: submit/tizen/20170413.033559^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F73%2F124873%2F1;p=platform%2Fcore%2Fapi%2Furl-download.git Used a macro of %license to add a license to spec file Change-Id: I46cd61b7deb7f38cd98db2df3b03d865d6a9c244 Signed-off-by: jaekuk, lee --- diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100644 new mode 100755 index 2417ee4..b62431f --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/packaging/capi-web-url-download.spec b/packaging/capi-web-url-download.spec index fa8585c..44461b0 100755 --- a/packaging/capi-web-url-download.spec +++ b/packaging/capi-web-url-download.spec @@ -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,-)