rpms/fontconfig/devel fontconfig-2.6.97-fix-provides-name.patch, NONE, 1.1 fontconfig.spec, 1.121, 1.122
Richard Hughes
rhughes at fedoraproject.org
Mon Feb 16 11:35:08 UTC 2009
Author: rhughes
Update of /cvs/pkgs/rpms/fontconfig/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4358
Modified Files:
fontconfig.spec
Added Files:
fontconfig-2.6.97-fix-provides-name.patch
Log Message:
* Mon Feb 16 2009 Richard Hughes <rhughes at redhat.com> - 2.6.97-3.g945d6a4
- Correct the rpm provide name to be font(), not Font().
fontconfig-2.6.97-fix-provides-name.patch:
--- NEW FILE fontconfig-2.6.97-fix-provides-name.patch ---
diff -urp fontconfig-2.6.97.old/src/fcformat.c fontconfig-2.6.97/src/fcformat.c
--- fontconfig-2.6.97.old/src/fcformat.c 2009-02-16 11:14:54.000000000 +0000
+++ fontconfig-2.6.97/src/fcformat.c 2009-02-16 11:17:01.000000000 +0000
@@ -73,7 +73,7 @@
#define FCMATCH_FORMAT "%{file:-<unknown filename>|basename}: \"%{family[0]:-<unknown family>}\" \"%{style[0]:-<unknown style>}\""
#define FCLIST_FORMAT "%{?file{%{file}: }}%{=unparse}"
-#define PKGKIT_FORMAT "%{[]family{Font(%{family|downcase|delete( )})\n}}%{[]lang{Font(:lang=%{lang|downcase|translate(_,-)})\n}}"
+#define PKGKIT_FORMAT "%{[]family{font(%{family|downcase|delete( )})\n}}%{[]lang{font(:lang=%{lang|downcase|translate(_,-)})\n}}"
static void
Index: fontconfig.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fontconfig/devel/fontconfig.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- fontconfig.spec 15 Feb 2009 22:46:16 -0000 1.121
+++ fontconfig.spec 16 Feb 2009 11:34:37 -0000 1.122
@@ -3,7 +3,7 @@
Summary: Font configuration and customization library
Name: fontconfig
Version: 2.6.97
-Release: 2.g945d6a4%{?dist}
+Release: 3.g945d6a4%{?dist}
License: MIT
Group: System Environment/Libraries
Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
@@ -11,6 +11,9 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Source1: 25-no-bitmap-fedora.conf
+# behdad has this in his local tree
+Patch1: fontconfig-2.6.97-fix-provides-name.patch
+
BuildRequires: gawk
BuildRequires: expat-devel
BuildRequires: freetype-devel >= %{freetype_version}
@@ -44,6 +47,7 @@
%prep
%setup -q
+%patch1 -p1
%build
@@ -131,6 +135,9 @@
%{_mandir}/man3/*
%changelog
+* Mon Feb 16 2009 Richard Hughes <rhughes at redhat.com> - 2.6.97-3.g945d6a4
+- Correct the rpm provide name to be font(), not Font().
+
* Sun Feb 15 2009 Behdad Esfahbod <besfahbo at redhat.com> - 2.6.97-2.g945d6a4
- Another try.
More information about the fonts-bugs
mailing list