[lohit-bengali-fonts] Resolved #959994 - Removed 'as' from fc-cache

Pravin Satpute pravins at fedoraproject.org
Wed May 29 09:15:02 UTC 2013


commit c572f5bf860bc21b42576a030bce2a3a42b38047
Author: pravins <psatpute at redhat.com>
Date:   Wed May 29 14:44:46 2013 +0530

    Resolved #959994 - Removed 'as' from fc-cache

 bug-959994.patch         |   25 +++++++++++++++++++++++++
 lohit-bengali-fonts.spec |    9 +++++++--
 2 files changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/bug-959994.patch b/bug-959994.patch
new file mode 100644
index 0000000..5dce5dd
--- /dev/null
+++ b/bug-959994.patch
@@ -0,0 +1,25 @@
+diff -rup lohit-bengali-2.5.3/65-0-lohit-bengali.conf lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf
+--- lohit-bengali-2.5.3/65-0-lohit-bengali.conf	2013-01-30 17:31:46.000000000 +0530
++++ lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf	2013-05-29 14:28:53.239651293 +0530
+@@ -22,6 +22,21 @@
+   </edit>
+ </match>
+ 
++ <match target="scan">
++    <test name="family">
++      <string>Lohit Bengali</string>
++    </test>
++    <edit name="lang" mode="assign">
++      <minus>
++        <name>lang</name>
++        <langset>
++          <string>as</string>
++        </langset>
++      </minus>
++    </edit>
++  </match>
++
++
+ <alias>
+   <family>Lohit Bengali</family>
+   <default>
diff --git a/lohit-bengali-fonts.spec b/lohit-bengali-fonts.spec
index 0810bdf..e0ee33b 100644
--- a/lohit-bengali-fonts.spec
+++ b/lohit-bengali-fonts.spec
@@ -3,7 +3,7 @@
 
 Name:        %{fontname}-fonts
 Version:        2.5.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Free Bengali font
 Group:          User Interface/X
 License:        OFL
@@ -13,7 +13,8 @@ BuildArch:      noarch
 BuildRequires: fontforge >= 20080429
 BuildRequires:  fontpackages-devel
 Requires:       fontpackages-filesystem
-Obsoletes: lohit-fonts-common < %{version}-%{release}
+Patch1: bug-959994.patch
+
 
 %description
 This package provides a free Bengali truetype/opentype font.
@@ -22,6 +23,7 @@ This package provides a free Bengali truetype/opentype font.
 %prep
 %setup -q -n %{fontname}-%{version} 
 mv 66-%{fontname}.conf 65-0-lohit-bengali.conf
+%patch1 -p1 -b .1-removing-as-from-fc-cache
 
 
 %build
@@ -47,6 +49,9 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} \
 
 
 %changelog
+* Wed May 29 2013 Pravin Satpute <psatpute at redhat.com> - 2.5.3-3
+- Resolved #959994 - Removed 'as' from fc-cache
+
 * Fri Apr 12 2013 Pravin Satpute <psatpute at redhat.com> - 2.5.3-2
 - Resolved #950523
 


More information about the fonts-bugs mailing list