From 890e025d16832b26fa5a6d7d3fee4b611c98b8cf Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Mon, 16 Jul 2018 13:38:55 +0900 Subject: Add 'freetype-config' to package again with '--enable-freetype-config' option 'freetype-config' was automatically created without any options. I thought it was removed from the latest freetype2. But, it was just disabled as default. It needs a explicit option to enable it. Change-Id: If3ad6010ea2cbfcff50af3f7261cabef7781f790 --- packaging/freetype2.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/freetype2.spec b/packaging/freetype2.spec index 47cf465..a1c4a1c 100644 --- a/packaging/freetype2.spec +++ b/packaging/freetype2.spec @@ -53,7 +53,7 @@ cp %{SOURCE1001} . export CFLAGS+=" -fstack-protector-strong -D_FORTIFY_SOURCE=2" export LDFLAGS+=" -Wl,-z,relro" -%configure --disable-static +%configure --disable-static --enable-freetype-config sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool make %{?_smp_mflags} @@ -110,5 +110,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} %{_datadir}/aclocal/freetype2.m4 %{_includedir}/freetype2/* %{_libdir}/libfreetype.so +%{_bindir}/freetype-config %{_libdir}/pkgconfig/*.pc - +%{_datadir}/man/man1/* -- cgit v1.2.3