From d05124d3e59bdf7274b91a8244c676d3d214562f Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 28 Jan 2008 15:21:34 +0000 Subject: [PATCH] - Build requires jasper-devel. - Remove bundled libraries. --- ghostscript.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ghostscript.spec b/ghostscript.spec index 806dd7f..77fc3df 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Summary: A PostScript(TM) interpreter and renderer. Name: ghostscript Version: %{gs_ver} -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 URL: http://www.ghostscript.com/ @@ -23,7 +23,7 @@ Patch6: ghostscript-runlibfileifexists.patch Patch7: ghostscript-gsbug689577.patch Requires: urw-fonts >= 1.1, ghostscript-fonts -BuildRequires: libjpeg-devel, libXt-devel +BuildRequires: libjpeg-devel, libXt-devel, jasper-devel BuildRequires: zlib-devel, libpng-devel, unzip, gtk2-devel BuildRequires: glib2-devel, gnutls-devel # Omni requires libxml @@ -73,6 +73,7 @@ A GTK-enabled version of Ghostscript, called 'gsx'. %prep %setup -q -n %{name}-%{gs_ver} +rm -rf libpng zlib jpeg jasper # Fix ijs-config not to have multilib conflicts (bug #192672) %patch1 -p1 -b .multilib @@ -265,6 +266,10 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgs.so %changelog +* Mon Jan 28 2008 Tim Waugh 8.61-7 +- Build requires jasper-devel. +- Remove bundled libraries. + * Tue Dec 11 2007 Tim Waugh 8.61-6 - Applied upstream patch for bug #416321.