%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}
%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"
%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