Use a macro of %license to add a license in spec file 57/124357/1 submit/tizen/20170412.010038
authorHyeKyoung Hwang <cookie@samsung.com>
Tue, 11 Apr 2017 07:30:24 +0000 (16:30 +0900)
committerHyeKyoung Hwang <cookie@samsung.com>
Tue, 11 Apr 2017 07:30:24 +0000 (16:30 +0900)
Signed-off-by: HyeKyoung Hwang <cookie@samsung.com>
Change-Id: Ib210a2c6476de500280f64455ab006524d8bad3e

packaging/browser-provider.spec

index b0d86e006d0d1908dffa247b9d747cf5e8e3f7b3..c2dd755c8035588606f9ea26954b2e6233fe9bcf 100755 (executable)
@@ -1,7 +1,7 @@
 
 Name:       browser-provider
 Summary:    sync in background.
-Version:    1.8.3
+Version:    2.0.0
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -32,7 +32,6 @@ BuildRequires:  pkgconfig(libtzplatform-config)
 %define _databasedir %{_data_install_path}/database
 %define _notifydir %{_data_install_path}/notify
 %define _ipc_socket /tmp/.browser-provider.sock
-%define _license_path /usr/share/license
 %define _cloud_pdm_server /usr/bin/cloud-pdm-server
 %define upgrade_script_path /usr/share/upgrade/scripts
 
@@ -62,7 +61,6 @@ Description: sync in background (developement files)
                -DPKG_NAME=%{name} \\\
                -DPKG_VERSION=%{version} \\\
                -DPKG_RELEASE=%{release} \\\
-               -DPKG_LICENSE_PATH:PATH=%{_license_path} \\\
                -DCLOUD_PDM_SERVER:PATH=%{_cloud_pdm_server} \\\
                -DPROVIDER_DIR:PATH=%{_data_install_path} \\\
                -DDATABASE_DIR:PATH=%{_databasedir} \\\
@@ -123,7 +121,6 @@ chown -R web_fw:web_fw %{_data_install_path}
 %{_libdir}/libcapi-web-tab.so.0
 %{_libdir}/libcapi-web-history.so.%{version}
 %{_libdir}/libcapi-web-history.so.0
-%{_license_path}/%{name}
 %manifest %{name}.manifest
 %{_unitdir}/browser-provider.service
 %{_unitdir}/browser-provider.socket
@@ -158,6 +155,8 @@ chown -R web_fw:web_fw %{_data_install_path}
 %{_libdir}/pkgconfig/tab-adaptor.pc
 %{_libdir}/pkgconfig/history-adaptor.pc
 
+%license LICENSE.APLv2
+
 %changelog
 * Tue Jun 11 2013 Kwangmin Bang <justine.bang@samsung.com>
 - enable systemd and prevent to be launched repeatedly