From 3ba620beb9d38be77827c8d0e6582cbece431a59 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 31 Oct 2014 12:20:23 +0100 Subject: [PATCH] Pass --with-fontrootdir to ./configure so that libfontenc can find the encoding files (rhbz#1046341) --- libfontenc.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libfontenc.spec b/libfontenc.spec index d600c96..c456da8 100644 --- a/libfontenc.spec +++ b/libfontenc.spec @@ -1,7 +1,10 @@ +# Must be kept in sync with xorg-x11-fonts ! +%define _x11fontdir %{_datadir}/X11/fonts + Summary: X.Org X11 libfontenc runtime library Name: libfontenc Version: 1.1.2 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.x.org @@ -29,7 +32,7 @@ X.Org X11 libfontenc development package %build export CFLAGS="$RPM_OPT_FLAGS -Os" -%configure --disable-static +%configure --disable-static --with-fontrootdir=%{_x11fontdir} make %{?_smp_mflags} %install @@ -42,18 +45,20 @@ find $RPM_BUILD_ROOT -type f -name '*.la' | xargs rm -f -- || : %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc COPYING README ChangeLog %{_libdir}/libfontenc.so.1 %{_libdir}/libfontenc.so.1.0.0 %files devel -%defattr(-,root,root,-) %{_includedir}/X11/fonts/fontenc.h %{_libdir}/libfontenc.so %{_libdir}/pkgconfig/fontenc.pc %changelog +* Fri Oct 31 2014 Hans de Goede - 1.1.2-3 +- Pass --with-fontrootdir to ./configure so that libfontenc can find the + encoding files (rhbz#1046341) + * Sun Aug 17 2014 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild