]> git.pld-linux.org Git - packages/fontconfig.git/commitdiff
- pretrans not needed; rel 0.1; TODO item
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 2 Aug 2012 08:24:18 +0000 (10:24 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 2 Aug 2012 08:24:18 +0000 (10:24 +0200)
fontconfig.spec

index 5653235aa42ad7b56a020ecf983102a94519ebaa..a078dc68db5dced7e41e82eeaa3238489f90ee00 100644 (file)
@@ -1,4 +1,9 @@
-#
+# TODO:
+# - upgrade puts new files into /usr/share/fontconfig/conf.avail/*.conf
+# and also removes /etc/fonts/conf.avail/*.conf BUT there is a symlink
+# /etc/fonts/conf.avail/ -> /usr/share/fontconfig/conf.avail/ and in the end
+# rpm deletes freshly installed /usr/share/fontconfig/conf.avail/*.conf files
+
 # Conditional build
 %bcond_without static_libs     # don't build static library
 %bcond_without doc
@@ -8,7 +13,7 @@ Summary(pl.UTF-8):     Narzędzia do konfigurowania fontów
 Summary(pt_BR.UTF-8):  Ferramentas para configuração e customização do acesso a fontes
 Name:          fontconfig
 Version:       2.10.1
-Release:       1
+Release:       0.1
 Epoch:         1
 License:       MIT
 Group:         Libraries
@@ -160,13 +165,6 @@ cp -f conf.d/README README.confd
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pretrans
-# this needs to be a symlink
-if [ -d "%{_sysconfdir}/fonts/conf.avail" ]; then
-        umask 022
-       mv -f %{_sysconfdir}/fonts/conf.avail{,.rpmsave}
-fi
-
 %post
 umask 022
 HOME=/tmp %{_bindir}/fc-cache -f 2>/dev/null || :
This page took 0.198734 seconds and 4 git commands to generate.