Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+%define upgrade_script_path /usr/share/upgrade/scripts
+
%description
Fontconfig is designed to locate fonts within the
system and select them according to requirements specified by
#make check
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}%{upgrade_script_path}
+cp -f scripts/fontconfig_upgrade.sh %{buildroot}%{upgrade_script_path}
%make_install
%config(noreplace) %{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
%{TZ_SYS_RO_SHARE}/license/%{name}
%{_tmpfilesdir}/fontconfig.conf
+%{upgrade_script_path}/fontconfig_upgrade.sh
%files devel
%manifest fontconfig.manifest