Hello community,

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

Package is "x3270", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/x3270/x3270.changes      2011-12-25 
17:42:48.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.x3270.new/x3270.changes 2012-08-07 
08:25:24.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug  6 11:30:49 UTC 2012 - [email protected]
+
+- prepare spec file for dropping SuSEconfig.fonts (openFATE#313536)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ x3270.spec ++++++
--- /var/tmp/diff_new_pack.w8XhXp/_old  2012-08-07 08:25:26.000000000 +0200
+++ /var/tmp/diff_new_pack.w8XhXp/_new  2012-08-07 08:25:26.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package x3270
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
 
 Name:           x3270
 BuildRequires:  autoconf
+BuildRequires:  fontpackages-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  xorg-x11
 BuildRequires:  xorg-x11-devel
-%define        fontdir     /usr/share/fonts/misc
 %define        appdefdir   /usr/share/X11
 %define xbindir     /usr/bin
 %define xmandir     /usr/share/man
@@ -126,7 +126,7 @@
        --x-libraries=%{xlibraries} \
        --mandir=%{xmandir} \
        --with-all-xinstall \
-       --with-fontdir=%{fontdir} \
+       --with-fontdir=%{_miscfontsdir} \
        --enable-ssl
     xmkmf -a
     make depend
@@ -184,7 +184,7 @@
     make DESTDIR=$RPM_BUILD_ROOT LIBX3270DIR=${LIBX3270DIR} install.man
     # make install does a mkfontdir, that creates a fonts.dir we don't
     # want in the package.  remove that:
-    rm $RPM_BUILD_ROOT%{fontdir}/fonts.dir
+    rm $RPM_BUILD_ROOT%{_miscfontsdir}/fonts.dir
     install -d -m 755 \
        $RPM_BUILD_ROOT%{appdefdir}/app-defaults
     install -m 644 X3270.xad \
@@ -227,11 +227,7 @@
 # set permissions correct
 chmod ugo-x $RPM_BUILD_ROOT/usr/share/man/man{1,5}/*
 
-%post
-%run_suseconfig_fonts
-
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %clean
 #${RPM_BUILD_ROOT:+rm -rf $RPM_BUILD_ROOT}
@@ -248,8 +244,8 @@
 # x3270
 %{xbindir}/x3270
 %{appdefdir}/app-defaults/X3270
-%dir %{fontdir}
-%{fontdir}/*
+%dir %{_miscfontsdir}
+%{_miscfontsdir}/*
 %doc %{xmandir}/man1/x3270.1x.gz
 %doc --parents x3270-3.3/Examples
 %doc --parents x3270-3.3/html

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to