Hello community,

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

Package is "cpmono_v07-fonts", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpmono_v07-fonts/cpmono_v07-fonts.changes        
2012-05-26 09:22:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cpmono_v07-fonts.new/cpmono_v07-fonts.changes   
2012-09-14 12:15:37.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Jul  4 12:39:06 CEST 2012 - [email protected]
+
+- amend spec file to reflect new font packaging scheme
+  (see openFATE#313536);
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ cpmono_v07-fonts.spec ++++++
--- /var/tmp/diff_new_pack.h8V61t/_old  2012-09-14 12:15:38.000000000 +0200
+++ /var/tmp/diff_new_pack.h8V61t/_new  2012-09-14 12:15:38.000000000 +0200
@@ -16,19 +16,18 @@
 #
 
 
-%define ttf_fontdir %{_datadir}/fonts/truetype
-
 Name:           cpmono_v07-fonts
 Version:        1.0
 Release:        0
-License:        CC-BY-3.0
 Summary:        Industrial Monotype Font
-Url:            http://www.fontsquirrel.com/fonts/CPMono_v07
+License:        CC-BY-3.0
 Group:          System/X11/Fonts
+Url:            http://www.fontsquirrel.com/fonts/CPMono_v07
 # http://www.fontsquirrel.com/fonts/download/CPMono_v07
 Source:         CPMono_v07.zip
+BuildRequires:  fontpackages-devel
 BuildRequires:  unzip
-Requires(pre):  %suseconfig_fonts_prereq
+%reconfigure_fonts_prereq
 # FIXME: This causes a rpmlint warning; change <= to < once here's a new 
upstream version
 Obsoletes:      cpmono_v07-font <= %{version}
 Provides:       cpmono_v07-font = %{version}
@@ -44,22 +43,15 @@
 %build
 
 %install
-install -d "%{buildroot}%{ttf_fontdir}"
-install -m0644 *.otf "%{buildroot}%{ttf_fontdir}/"
-
-%post
-%run_suseconfig_fonts
-
-%postun
-%run_suseconfig_fonts
+install -d "%{buildroot}%{_ttfontsdir}"
+install -m0644 *.otf "%{buildroot}%{_ttfontsdir}/"
 
-%clean
-%{?buildroot:rm -rf %{buildroot}}
+%reconfigure_fonts_scriptlets
 
 %files
 %defattr(-,root,root)
 %doc *.txt
-%dir %{ttf_fontdir}
-%{ttf_fontdir}/*.otf
+%dir %{_ttfontsdir}
+%{_ttfontsdir}/*.otf
 
 %changelog


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

Reply via email to