change upgrade script name 26/101726/1
authorJongkyu Koo <jk.koo@samsung.com>
Fri, 2 Dec 2016 05:29:06 +0000 (14:29 +0900)
committerJongkyu Koo <jk.koo@samsung.com>
Fri, 2 Dec 2016 05:29:06 +0000 (14:29 +0900)
Change-Id: I858afc02767c93d2d345a006b0add105b5e90249
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
500.phonenumber-utils.patch.sh [deleted file]
500.phonenumber-utils.sh [new file with mode: 0644]
packaging/phonenumber-utils.spec

diff --git a/500.phonenumber-utils.patch.sh b/500.phonenumber-utils.patch.sh
deleted file mode 100644 (file)
index 49db273..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-#--------------------------------------------------#
-# Phonenumber-utils patch for upgrade (2.4 -> 3.0) #
-#--------------------------------------------------#
-
-# Macro
-DATA_DIR_24=/opt/usr/data
-
-# Remove
-rm -r $DATA_DIR_24/phonenumber-utils
-
diff --git a/500.phonenumber-utils.sh b/500.phonenumber-utils.sh
new file mode 100644 (file)
index 0000000..49db273
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
+#--------------------------------------------------#
+# Phonenumber-utils patch for upgrade (2.4 -> 3.0) #
+#--------------------------------------------------#
+
+# Macro
+DATA_DIR_24=/opt/usr/data
+
+# Remove
+rm -r $DATA_DIR_24/phonenumber-utils
+
index 422b83d4e0d0072ce7b554cadb9ef7fbec1c06e8..b2b5de0d5631ccd867bbdd72514333e382f4614a 100644 (file)
@@ -60,7 +60,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{upgrade_script_path}
-cp -f 500.%{name}.patch.sh %{buildroot}%{upgrade_script_path}
+cp -f 500.%{name}.sh %{buildroot}%{upgrade_script_path}
 
 %make_install
 
@@ -93,7 +93,7 @@ systemctl daemon-reload
 %config %{_sysconfdir}/dbus-1/system.d/%{_dbus_name}.conf
 %{_libdir}/lib%{name}.so.*
 %license LICENSE.APLv2
-%{upgrade_script_path}/500.%{name}.patch.sh
+%{upgrade_script_path}/500.%{name}.sh
 
 
 %files devel