[liberation-fonts] Removed 59 conf files and added 30-0 alias conf files

Pravin Satpute pravins at fedoraproject.org
Wed Sep 12 14:12:21 UTC 2012


commit 243406ea9e8cef0cc7570821e08ecd3278169ade
Author: प्रविण सातपुते <psatpute at redhat.com>
Date:   Wed Sep 12 19:41:33 2012 +0530

    Removed 59 conf files and added 30-0 alias conf files

 59-liberation-mono.conf  |   46 ----------------------------------------------
 59-liberation-sans.conf  |   16 ----------------
 59-liberation-serif.conf |   16 ----------------
 liberation-fonts.spec    |   25 ++++++++++++++-----------
 4 files changed, 14 insertions(+), 89 deletions(-)
---
diff --git a/liberation-fonts.spec b/liberation-fonts.spec
index 2af905a..0ef2066 100644
--- a/liberation-fonts.spec
+++ b/liberation-fonts.spec
@@ -1,5 +1,5 @@
 %global fontname liberation
-%global fontconf59 59-%{fontname}
+%global fontconf30 30-0-%{fontname}
 %global archivename %{name}-%{version}
 %define common_desc \
 The Liberation Fonts are intended to be replacements for the three most \
@@ -11,15 +11,15 @@ New.
 Name:             %{fontname}-fonts
 Summary:          Fonts to replace commonly used Microsoft Windows fonts
 Version:          2.00.0
-Release:          1%{?dist}
+Release:          2%{?dist}
 License:          OFL
 Group:            User Interface/X
 URL:              http://fedorahosted.org/liberation-fonts/
 Source0:          https://fedorahosted.org/releases/l/i/liberation-fonts/%{archivename}.tar.gz
 Source1:          generate.pe
-Source2:          59-liberation-mono.conf
-Source3:          59-liberation-sans.conf
-Source4:          59-liberation-serif.conf
+Source2:          30-0-liberation-mono.conf
+Source3:          30-0-liberation-sans.conf
+Source4:          30-0-liberation-serif.conf
 BuildArch:        noarch
 BuildRequires:    fontpackages-devel >= 1.13, xorg-x11-font-utils
 BuildRequires:    fontforge
@@ -116,15 +116,15 @@ install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
 
 # Repeat for every font family
 install -m 0644 -p %{SOURCE2} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-mono.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-mono.conf
 install -m 0644 -p %{SOURCE3} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-sans.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-sans.conf
 install -m 0644 -p %{SOURCE4} \
-        %{buildroot}%{_fontconfig_templatedir}/%{fontconf59}-serif.conf
+        %{buildroot}%{_fontconfig_templatedir}/%{fontconf30}-serif.conf
 
-for fconf in %{fontconf59}-mono.conf \
-             %{fontconf59}-sans.conf \
-             %{fontconf59}-serif.conf; do
+for fconf in %{fontconf30}-mono.conf \
+             %{fontconf30}-sans.conf \
+             %{fontconf30}-serif.conf; do
   ln -s %{_fontconfig_templatedir}/$fconf \
         %{buildroot}%{_fontconfig_confdir}/$fconf
 done
@@ -134,6 +134,9 @@ mkfontdir %{buildroot}%{_fontdir}
 mkfontscale %{buildroot}%{_fontdir}
 
 %changelog
+* Wed Sep 12 2012 Pravin Satpute <psatpute at redhat.com> - 2.00.0-2
+- Removed fontconf files of 59 priority, now only has 30-0 alias file
+
 * Thu Jul 26 2012 Pravin Satpute <psatpute at redhat.com> - 2.00.0-1
 - First upstream release with OFL license
 - Added conf files with 59 priority


More information about the fonts-bugs mailing list