Hello community,

here is the log from the commit of package susedoc for openSUSE:Factory checked 
in at 2012-08-07 08:22:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/susedoc (Old)
 and      /work/SRC/openSUSE:Factory/.susedoc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "susedoc", Maintainer is "thomas.schrai...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/susedoc/susedoc.changes  2012-02-16 
10:10:45.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.susedoc.new/susedoc.changes     2012-08-07 
08:22:14.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug  6 12:13:14 UTC 2012 - pgaj...@suse.com
+
+- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ susedoc.spec ++++++
--- /var/tmp/diff_new_pack.P55BZh/_old  2012-08-07 08:22:16.000000000 +0200
+++ /var/tmp/diff_new_pack.P55BZh/_new  2012-08-07 08:22:16.000000000 +0200
@@ -14,12 +14,12 @@
 %define dtdname        novdoc
 %define docbuilddir    /usr/share/susedoc
 %define regcat         /usr/bin/sgml-register-catalog
-%define fontdir        /usr/share/fonts/truetype
 
 Name:           susedoc 
 Version:        4.3.33
 Release:        0
 Summary:        XML Build Mechanics for Novell, SUSE, and openSUSE 
Documentation
+BuildRequires:  fontpackages-devel
 BuildRequires:  sgml-skel
 BuildRequires:  trang
 Requires:       libxslt inkscape transfig ImageMagick java xml-commons-resolver
@@ -166,13 +166,13 @@
 %{__mkdir} %buildroot
 
 %{__mkdir_p} $RPM_BUILD_ROOT/usr/share/%{name} \
-         $RPM_BUILD_ROOT/%{fontdir} \
+         $RPM_BUILD_ROOT/%{_ttfontsdir} \
          $RPM_BUILD_ROOT/%{_bindir} \
          $RPM_BUILD_ROOT/%{xml_dir}/%{dtdname}/schema/{dtd,rng}/%{dtdversion}
 
 # Copy the NimbusMono fonts (the TrueType version!)
 %{__rm} etc/fonts/Dingbats.ttf
-%{__mv} etc/fonts/*.ttf $RPM_BUILD_ROOT/%{fontdir}
+%{__mv} etc/fonts/*.ttf $RPM_BUILD_ROOT/%{_ttfontsdir}
 # Remove any remaining fonts:
 %{__rm} -rf etc/fonts/
 
@@ -207,10 +207,10 @@
 # Install any fonts
 if [ -e fontforge ]; then
 %{__mv} $RPM_BUILD_ROOT/usr/share/%{name}/fontforge/*.ttf \
-  $RPM_BUILD_ROOT/%{fontdir}
+  $RPM_BUILD_ROOT/%{_ttfontsdir}
 %{__rm} -rf $RPM_BUILD_ROOT/usr/share/%{name}/fontforge/
 else
-rm -rf $RPM_BUILD_ROOT/%{fontdir}
+rm -rf $RPM_BUILD_ROOT/%{_ttfontsdir}
 fi
 
 # Catalog
@@ -254,7 +254,7 @@
   --add /etc/xml/%{FOR_XSLT_CAT}
 
 
-%run_suseconfig_fonts
+%reconfigure_fonts_post
 exit 0
 
 #----------------------
@@ -270,9 +270,12 @@
   --del %{dtdname}xslt-%{version}
 fi
 
-%run_suseconfig_fonts
+%reconfigure_fonts_postun
 exit 0
 
+#----------------------
+%posttrans
+%reconfigure_fonts_posttrans
 
 #----------------------
 %clean
@@ -291,8 +294,8 @@
 %{xml_dir}/%{dtdname}/
 %{docbuilddir}
 # %%{py_libdir}/optcomplete.*
-%dir %{fontdir}
-%{fontdir}/*
+%dir %{_ttfontsdir}
+%{_ttfontsdir}/*
 
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to