From 7b409e0afdf1841eec345798ea50ebacba1d5cf2 Mon Sep 17 00:00:00 2001 From: "jaekuk, lee" Date: Thu, 13 Apr 2017 10:25:12 +0900 Subject: [PATCH] Used a macro of %license to add a license to spec file Change-Id: I46cd61b7deb7f38cd98db2df3b03d865d6a9c244 Signed-off-by: jaekuk, lee --- CMakeLists.txt | 1 - packaging/capi-web-url-download.spec | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 CMakeLists.txt 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,-) -- 2.7.4