From b0ec0778c1368dfd79eb993ae3010cf6e2b75ba6 Mon Sep 17 00:00:00 2001 From: Ickhee Woo Date: Mon, 27 Mar 2017 16:20:14 +0900 Subject: [PATCH] change spec for license Change-Id: Idd56ab4e0cbfbb34d2d310871f22fb945ae4edfb Signed-off-by: Ickhee Woo --- packaging/push.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packaging/push.spec b/packaging/push.spec index 7a55d02..017b1bb 100644 --- a/packaging/push.spec +++ b/packaging/push.spec @@ -216,9 +216,6 @@ install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/pushd.service %install_service multi-user.target.wants pushd.service -mkdir -p %{buildroot}/usr/share/licenses/%{name} -cp -f LICENSE %{buildroot}/usr/share/licenses/%{name} - mkdir -p %{buildroot}%{_includedir} cp -a include/push-service.h %{buildroot}%{_includedir} cp -a include/push.h %{buildroot}%{_includedir} @@ -496,6 +493,7 @@ popd %files -n libpush %manifest libpush.manifest +%license LICENSE # This is for backward-compatibility. This does not deteriorate 4.0 Configurability # if mobile || ivi || common || "undefined" %if "%{?profile}" != "wearable" && "%{?profile}" != "tv" @@ -511,7 +509,8 @@ popd %files bin %manifest push-bin.manifest %{_unitdir}/pushd.service -%attr(644,root,root) /usr/share/licenses/%{name}/LICENSE +%license LICENSE + %attr(755,root,root) %{_upgrade_script_path}%{_upgrade_script} %{_unitdir}/multi-user.target.wants/pushd.service -- 2.7.4