summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhyunuktak <hyunuk.tak@samsung.com>2016-12-09 01:20:27 (GMT)
committerhyunuktak <hyunuk.tak@samsung.com>2016-12-09 01:20:29 (GMT)
commitf286ffa4be1e1146d83d41bc2b30742d1be8cec8 (patch)
tree594e30633c3f9704d4107d48834ac7c15f0b736f
parent90d91383bf00b647a3e07488cf3913463842c5b6 (diff)
downloadconnman-accepted/tizen/3.0/tv/20161212.023230.zip
connman-accepted/tizen/3.0/tv/20161212.023230.tar.gz
connman-accepted/tizen/3.0/tv/20161212.023230.tar.bz2
Change-Id: Id143c354d3ca8240da608aae2bcb07957b856dde Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
-rwxr-xr-xpackaging/connman.spec5
-rwxr-xr-xscripts/500.connman_upgrade.sh (renamed from scripts/connman_upgrade.sh)0
2 files changed, 3 insertions, 2 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 6a24f31..1df7d8f 100755
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -34,6 +34,7 @@ Requires(preun): systemd
Requires(postun): systemd
Requires: net-config
+%define upgrade_script_filename 500.connman_upgrade.sh
%define upgrade_script_path /usr/share/upgrade/scripts
%description
@@ -197,7 +198,7 @@ cp vpn/vpn-dbus.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/connman-vpn-dbus
#OS Upgrade
mkdir -p %{buildroot}%{upgrade_script_path}
-cp -f scripts/connman_upgrade.sh %{buildroot}%{upgrade_script_path}
+cp -f scripts/%{upgrade_script_filename} %{buildroot}%{upgrade_script_path}
%post
chsmack -a 'System' /%{_localstatedir}/lib/connman
@@ -235,7 +236,7 @@ systemctl daemon-reload
%attr(644,root,root) %{_libdir}/systemd/system/sockets.target.wants/connman.socket
%endif
%{_datadir}/license/connman
-%{upgrade_script_path}/connman_upgrade.sh
+%{upgrade_script_path}/%{upgrade_script_filename}
%files test
%manifest connman.manifest
diff --git a/scripts/connman_upgrade.sh b/scripts/500.connman_upgrade.sh
index 83f222b..83f222b 100755
--- a/scripts/connman_upgrade.sh
+++ b/scripts/500.connman_upgrade.sh