From 93c8b75925fd33af36aa882637ff1040e2cfed2e Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Mon, 10 Apr 2006 10:39:03 +0000 Subject: [PATCH] - Spec file cleanups (bug #188066). --- ghostscript.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ghostscript.spec b/ghostscript.spec index 9e1d092..1462eec 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -29,10 +29,9 @@ Patch10: ghostscript-big-cmap-post.patch Patch11: ghostscript-krgb.patch Patch12: espgs-pdfwrite.patch -Requires: zlib, libpng, glib2 Requires: urw-fonts >= 1.1, ghostscript-fonts BuildRequires: libjpeg-devel, libXt-devel -BuildRequires: zlib, zlib-devel, libpng, libpng-devel, unzip, gtk2-devel +BuildRequires: zlib-devel, libpng-devel, unzip, gtk2-devel BuildRequires: glib2-devel, gnutls-devel # Omni requires libxml BuildRequires: libxml2-devel @@ -181,7 +180,7 @@ cd ijs %makeinstall cd .. -ln -sf gs.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/ghostscript.1.gz +echo ".so man1/gs.1" > $RPM_BUILD_ROOT/%{_mandir}/man1/ghostscript.1 ln -sf gs $RPM_BUILD_ROOT/usr/bin/ghostscript # Rename an original FAPIcidfmap to FAPIcidfmap.GS @@ -237,6 +236,10 @@ MAIN_PWD=`pwd` %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + %files -f rpm.sharelist %defattr(-,root,root) %dir /etc/ghostscript @@ -269,13 +272,10 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/ijs-config %{_libdir}/libijs.*a -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %changelog * Mon Apr 10 2006 Tim Waugh 8.15.1-9 - Add %%{_datadir}/fonts/japanese to font path (bug #188448). +- Spec file cleanups (bug #188066). * Sat Apr 8 2006 Tim Waugh - Build requires libtool (bug #188341).