Hello community,

here is the log from the commit of package farsi-fonts for openSUSE:Factory 
checked in at 2012-09-14 12:16:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/farsi-fonts (Old)
 and      /work/SRC/openSUSE:Factory/.farsi-fonts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "farsi-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/farsi-fonts/farsi-fonts.changes  2012-05-26 
09:23:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.farsi-fonts.new/farsi-fonts.changes     
2012-09-14 12:16:12.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 12:39:06 CEST 2012 - pgaj...@suse.cz
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ farsi-fonts.spec ++++++
--- /var/tmp/diff_new_pack.TjXRLk/_old  2012-09-14 12:16:12.000000000 +0200
+++ /var/tmp/diff_new_pack.TjXRLk/_new  2012-09-14 12:16:12.000000000 +0200
@@ -16,18 +16,17 @@
 #
 
 
-
 Name:           farsi-fonts
 Version:        0.4
-Release:        182
-%define        fontdir     /usr/share/fonts/truetype
-License:        GPL-2.0+
+Release:        0
 Summary:        A Collection of Free Persian OpenType Fonts
-Url:            http://www.farsiweb.info/wiki/Products/PersianFonts
+License:        GPL-2.0+
 Group:          System/X11/Fonts
+Url:            http://www.farsiweb.info/wiki/Products/PersianFonts
 Source0:        http://www.farsiweb.info/font/farsifonts-0.4.zip
+BuildRequires:  fontpackages-devel
 BuildRequires:  unzip
-Requires(pre):  %suseconfig_fonts_prereq
+%reconfigure_fonts_prereq
 Provides:       scalable-font-fa
 Provides:       locale(fa)
 # FIXME: This causes a rpmlint warning; change <= to < once here's a new 
upstream version
@@ -37,7 +36,7 @@
 BuildArch:      noarch
 
 %description
-A collection of free Persian OpenType fonts.
+This package contains collection of free Persian OpenType fonts.
 
 %prep
 %setup -T -c %{name} -n %{name}
@@ -47,22 +46,18 @@
 %build
 
 %install
-mkdir -p %{buildroot}%{fontdir}
+mkdir -p %{buildroot}%{_ttfontsdir}
 for i in */*.ttf
 do
-    install -c -m 644 $i %{buildroot}%{fontdir}
+    install -c -m 644 $i %{buildroot}%{_ttfontsdir}
 done
 
-%post
-%run_suseconfig_fonts
-
-%postun
-%run_suseconfig_fonts
+%reconfigure_fonts_scriptlets
 
 %files
 %defattr(-, root,root)
 %doc farsifonts*/COPYING
 %doc farsifonts*/NEWS
-%{fontdir}
+%{_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