[ttname/f18] add patch to fix test suite failure in F<=18

T.C. Hollingsworth patches at fedoraproject.org
Wed Aug 28 13:19:11 UTC 2013


commit bcaf1edac7097cb6c747a3f11afd429a3f3ba04e
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Wed Aug 28 06:17:41 2013 -0700

    add patch to fix test suite failure in F<=18

 ttname.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ttname.spec b/ttname.spec
index 1bb4252..e437e6e 100644
--- a/ttname.spec
+++ b/ttname.spec
@@ -1,6 +1,6 @@
 Name:           ttname
 Version:        1
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 Summary:        CLI font metadata editor
 BuildArch:      noarch
 
@@ -8,6 +8,10 @@ License:        BSD
 URL:            https://github.com/tchollingsworth/ttname
 Source0:        https://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz
 
+# fc-query in Fedora < 18 doesn't output the PostScript name so we can't check
+# against that in the test suite
+Patch1:         %{name}-fc-postscriptname.patch
+
 BuildRequires:  python-devel python-setuptools
 
 # for tests
@@ -26,6 +30,7 @@ TrueType and OpenType fonts.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %{__python} setup.py build
@@ -44,5 +49,8 @@ nosetests -vx
 %doc LICENSE
 
 %changelog
+* Wed Aug 28 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1-1.1
+- add patch to fix test suite failure in F<=18
+
 * Tue Aug 27 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1-1
 - initial release


More information about the scm-commits mailing list