From: hyunuktak Date: Fri, 9 Dec 2016 01:20:27 +0000 (+0900) Subject: Renamed upgrade script file name X-Git-Tag: accepted/tizen/common/20161210.162036^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F83%2F103583%2F1;p=platform%2Fupstream%2Fconnman.git Renamed upgrade script file name Change-Id: Id143c354d3ca8240da608aae2bcb07957b856dde Signed-off-by: hyunuktak --- 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 similarity index 100% rename from scripts/connman_upgrade.sh rename to scripts/500.connman_upgrade.sh