Hello community,

here is the log from the commit of package fonts-config for openSUSE:Factory 
checked in at 2016-09-17 14:37:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fonts-config (Old)
 and      /work/SRC/openSUSE:Factory/.fonts-config.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fonts-config"

Changes:
--------
--- /work/SRC/openSUSE:Factory/fonts-config/fonts-config.changes        
2015-11-17 14:22:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.fonts-config.new/fonts-config.changes   
2016-09-17 14:37:54.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Sep 14 15:15:11 UTC 2016 - pgaj...@suse.com
+
+- version 20160914:
+  * comma and the rest of family string is ignored while translating
+    preference lists from sysconfig to fontconfig snippets 
+    [bsc#998300]
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ fonts-config.spec ++++++
--- /var/tmp/diff_new_pack.CBgdYc/_old  2016-09-17 14:37:56.000000000 +0200
+++ /var/tmp/diff_new_pack.CBgdYc/_new  2016-09-17 14:37:56.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fonts-config
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define infinality_srcver 1-20130104_1
 %define infinality_name    fontconfig-infinality
 Name:           fonts-config
-Version:        20150424
+Version:        20160914
 Release:        0
 Summary:        Configures Fonts for X Windows and other applications
 License:        GPL-2.0+ and MIT







++++++ fonts-config ++++++
--- /var/tmp/diff_new_pack.CBgdYc/_old  2016-09-17 14:37:56.000000000 +0200
+++ /var/tmp/diff_new_pack.CBgdYc/_new  2016-09-17 14:37:56.000000000 +0200
@@ -654,7 +654,7 @@
       elsif (eval ("\$$i") =~ /^[0-9]+$/) { # Type integer
         eval("\$$sysconfig_options{$i}=\$$i");
       }
-      elsif (eval ("\$$i") =~ /^[-:a-zA-Z0-9 &]+$/) { # Type string
+      elsif (eval ("\$$i") =~ /^[-:a-zA-Z0-9 &,]+$/) { # Type string
         eval("\$$sysconfig_options{$i}=\$$i");
       }
       else { # this case also occurs when the variable is the empty string!
@@ -1313,6 +1313,8 @@
     $cfg .= "\t\t<family>$family</family>\n";
     $cfg .= "\t\t<prefer>\n";
     for my $f (@families) {
+      # remove comma and the rest of the family string [bsc#998300]
+      $f =~ s/,.*//;
       $f =~ s/&/&amp;/g;
       $cfg .= "                        <family>$f</family>\n";
       if ($VERBOSITY >= $VERBOSITY_DEBUG) {


Reply via email to