Use %license macro in spec file 90/122090/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_wearable accepted/tizen/common/20170403.190529 accepted/tizen/ivi/20170403.131557 accepted/tizen/mobile/20170403.131431 accepted/tizen/unified/20170403.131633 accepted/tizen/wearable/20170403.131532 submit/tizen/20170403.090528
authorWootak Jung <wootak.jung@samsung.com>
Thu, 30 Mar 2017 07:07:13 +0000 (16:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Thu, 30 Mar 2017 07:07:13 +0000 (16:07 +0900)
Change-Id: Ic988b42f9f01a0cd4ec2f446396d4e1965712c43

packaging/call-manager.spec

index 03a9f80a1a76668906d22cf7e4b1492c1b02298b..bca7f9650a30391dcaf8b4baf20c42d0130b3866 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 2
-%define patchlevel 9
+%define patchlevel 10
 %define ext_feature 0
 
 Name:           call-manager
@@ -128,8 +128,6 @@ mkdir -p %{buildroot}%{_unitdir}/multi-user.target.wants
 ln -s %{_unitdir}/callmgr.service %{buildroot}%{_unitdir}/multi-user.target.wants/callmgr.service
 mkdir -p %{buildroot}/etc/dbus-1/system.d/
 cp %{SOURCE1} %{buildroot}/etc/dbus-1/system.d/callmgr.conf
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/call-manager
 
 %ifarch %{arm}
 mv tm1/callmgrd.tm1 %{buildroot}%{_bindir}
@@ -156,6 +154,7 @@ esac
 %files extension-TM1
 %defattr(-,root,root,-)
 %attr(755,root,root) %{_bindir}/callmgrd.tm1
+%license LICENSE
 %endif
 
 %files
@@ -166,7 +165,7 @@ esac
 %{_unitdir}/callmgr.service
 %{_unitdir}/multi-user.target.wants/callmgr.service
 /etc/dbus-1/system.d/callmgr.conf
-%{_datadir}/license/call-manager
+%license LICENSE
 /usr/share/call-manager/*
 
 %files -n org.tizen.callmgr-popup
@@ -175,3 +174,4 @@ esac
 /usr/share/packages/org.tizen.callmgr-popup.xml
 /usr/apps/org.tizen.callmgr-popup/res/edje/popup_custom.edj
 /usr/apps/org.tizen.callmgr-popup/res/locale/*/*/callmgr-popup.mo
+%license LICENSE