Use %license macro in spec file 02/122702/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190602 accepted/tizen/ivi/20170403.131621 accepted/tizen/mobile/20170403.131504 accepted/tizen/tv/20170403.131522 accepted/tizen/unified/20170403.131647 accepted/tizen/wearable/20170403.131545 submit/tizen/20170403.090528 tizen_4.0.m1_release
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:22:18 +0000 (16:22 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:22:18 +0000 (16:22 +0900)
Change-Id: I49f220681e62ed28274ffcca2186d624295c99cf

CMakeLists.txt
packaging/tel-plugin-dbus_tapi.spec

index 5462515..b29087b 100644 (file)
@@ -97,4 +97,3 @@ SET_TARGET_PROPERTIES(dbus-tapi-plugin PROPERTIES PREFIX "" OUTPUT_NAME dbus-tap
 # install
 INSTALL(TARGETS dbus-tapi-plugin
                LIBRARY DESTINATION ${LIBDIR}/telephony/plugins)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME tel-plugin-dbus_tapi)
index 80ffc1c..a34d09e 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 3
-%define patchlevel 82
+%define patchlevel 83
 
 Name:           tel-plugin-dbus_tapi
 Version:        %{major}.%{minor}.%{patchlevel}
@@ -48,7 +48,6 @@ make %{?_smp_mflags}
 
 %install
 %make_install
-mkdir -p %{buildroot}%{_datadir}/license
 mkdir -p %{buildroot}/etc/dbus-1/system.d/
 cp %{SOURCE1} %{buildroot}/etc/dbus-1/system.d/telephony.conf
 
@@ -57,5 +56,5 @@ cp %{SOURCE1} %{buildroot}/etc/dbus-1/system.d/telephony.conf
 %defattr(644,root,root,-)
 #%doc COPYING
 %{_libdir}/telephony/plugins/*
-%{_datadir}/license/tel-plugin-dbus_tapi
+%license LICENSE
 /etc/dbus-1/system.d/telephony.conf