summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2016-04-01 09:24:39 (GMT)
committerYoungbok Shin <youngb.shin@samsung.com>2016-04-01 09:34:32 (GMT)
commitb588050bc45908383e6e9a122a6d2cff9d9e2bf9 (patch)
tree9bd578d9e91948e4519f486e3c0c58bcdd78b6ab
parent19545505dc8465dd2f1bdd6d515654941df067ae (diff)
downloaddefault-fonts-fc-sdk-b588050bc45908383e6e9a122a6d2cff9d9e2bf9.zip
default-fonts-fc-sdk-b588050bc45908383e6e9a122a6d2cff9d9e2bf9.tar.gz
default-fonts-fc-sdk-b588050bc45908383e6e9a122a6d2cff9d9e2bf9.tar.bz2
Change-Id: If2dde0c8673eea317b065e7f91a2f7bc1e7bb3ad
-rwxr-xr-xdefault-fonts-fc-sdk.init.sh2
-rw-r--r--packaging/default-fonts-fc-sdk.spec5
2 files changed, 0 insertions, 7 deletions
diff --git a/default-fonts-fc-sdk.init.sh b/default-fonts-fc-sdk.init.sh
deleted file mode 100755
index b659f69..0000000
--- a/default-fonts-fc-sdk.init.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-## Copy conf files from %{TZ_SYS_ETC}/fonts/conf.avail/ to %{TZ_SYS_RO_ETC}/fonts/conf.avail/
-cp -p /opt/etc/fonts/conf.avail/*.conf /etc/fonts/conf.avail/
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
index 00ad69d..4c861a7 100644
--- a/packaging/default-fonts-fc-sdk.spec
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -25,8 +25,6 @@ export FONT_CONF_FILE_2="10-hinting-slight.conf"
## TZ_SYS_RO_ETC: /etc, TZ_SYS_ETC: /opt/etc/
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.avail/
-mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/opt/init/ && cp -a default-fonts-fc-sdk.init.sh %{buildroot}%{TZ_SYS_RO_ETC}/opt/init/
mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/
mkdir -p %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/
ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_1 %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/$FONT_CONF_FILE_1
@@ -35,7 +33,6 @@ ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_2 %{buildroot}%{TZ_SYS_RO_E
%post
chown root:users %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
chmod 664 %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
-%{TZ_SYS_RO_ETC}/opt/init/default-fonts-fc-sdk.init.sh
chsmack -a '*' %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%files
@@ -43,6 +40,4 @@ chsmack -a '*' %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%defattr(-,root,root,-)
%{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
-%{TZ_SYS_RO_ETC}/opt/init/default-fonts-fc-sdk.init.sh
-%{TZ_SYS_RO_ETC}/fonts/conf.avail/
%exclude %{TZ_SYS_RO_ETC}/fonts/conf.d/documentation.list